Skip to content

Commit 9449c44

Browse files
RequestURI fix
1 parent 85b46aa commit 9449c44

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

context.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ func (ctx *Context) doRequest(w http.ResponseWriter, r *http.Request) (bool, err
319319
}
320320
return true, err
321321
}
322-
r.RequestURI = r.URL.RequestURI()
322+
r.RequestURI = r.URL.String()
323323
if ctx.Prx.OnRequest == nil {
324324
return false, nil
325325
}

0 commit comments

Comments
 (0)