Skip to content
This repository has been archived by the owner on May 19, 2020. It is now read-only.

Commit

Permalink
Merge pull request #74 from 18F/query-string
Browse files Browse the repository at this point in the history
Allows entire query string to be captured.
  • Loading branch information
jcscottiii committed Aug 17, 2015
2 parents da73671 + 0dc9082 commit 268c470
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controllers/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type APIContext struct {
// APIProxy is a handler that serves as a proxy for all the CF API. Any route that comes in the /v2/* route
// that has not been specified, will just come here.
func (c *APIContext) APIProxy(rw web.ResponseWriter, req *web.Request) {
reqURL := fmt.Sprintf("%s%s", c.Settings.ConsoleAPI, req.URL.Path)
reqURL := fmt.Sprintf("%s%s", c.Settings.ConsoleAPI, req.URL)
c.Proxy(rw, req.Request, reqURL)
}

Expand Down

0 comments on commit 268c470

Please sign in to comment.