diff options
Diffstat (limited to 'ui/proxy.go')
-rw-r--r-- | ui/proxy.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/proxy.go b/ui/proxy.go index 68e4db0..553dcce 100644 --- a/ui/proxy.go +++ b/ui/proxy.go @@ -27,7 +27,7 @@ func (c *Controller) ImageProxy(w http.ResponseWriter, r *http.Request) { return } - encodedURL := request.Param(r, "encodedURL", "") + encodedURL := request.RouteStringParam(r, "encodedURL") if encodedURL == "" { html.BadRequest(w, errors.New("No URL provided")) return |