lib/bullet.rb in bullet-5.4.0 vs lib/bullet.rb in bullet-5.4.1
- old
+ new
@@ -220,12 +220,12 @@
end
end
def build_request_uri(env)
if env['QUERY_STRING'].present?
- "#{env['PATH_INFO']}?#{env['QUERY_STRING']}"
+ "#{env['REQUEST_METHOD']} #{env['PATH_INFO']}?#{env['QUERY_STRING']}"
else
- env['PATH_INFO']
+ "#{env['REQUEST_METHOD']} #{env['PATH_INFO']}"
end
end
end
end