Commit 380a67ad authored by Stan Hu's avatar Stan Hu

Ensure PATH_INFO exists for go-get

parent b23a05d0
...@@ -26,7 +26,7 @@ module Gitlab ...@@ -26,7 +26,7 @@ module Gitlab
end end
def go_request?(request) def go_request?(request)
request["go-get"].to_i == 1 request["go-get"].to_i == 1 && request.env["PATH_INFO"].present?
end end
def go_body(request) def go_body(request)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment