func fixPath(req *http.Request, path string) {
	// Remove any query parameters
	parts := strings.SplitN(path, "?", 2)
	req.URL.RawPath = "/" + strings.TrimPrefix(parts[0], "/")
}
// fixPath sets the request's URL.RawPath to work with escaped characters in
// paths.
fixPath sets the request's URL.RawPath to work with escaped characters in
paths.
// fixPath sets the request ' s URL . RawPath to work with escaped characters in // paths .
func fixPath(req *http.Request, path string) {
	parts := strings.SplitN(path, "?", 2)
	req.URL.RawPath = "/" + strings.TrimPrefix(parts[0], "/")
}
func fixPath ( req * http . Request , path string ) { parts := strings . SplitN ( path , " " , 2 ) req . URL . RawPath = " " + strings . TrimPrefix ( parts [ 0 ] , " " ) }
fixPath sets the request's URL.RawPath to work with escaped characters in
paths.
fixPath sets the request ' s URL . RawPath to work with escaped characters in paths .
// Remove any query parameters