mirror of
https://github.com/imgproxy/imgproxy.git
synced 2025-10-10 12:12:40 +02:00
Fix path parsing
This commit is contained in:
@@ -624,7 +624,7 @@ func parsePathSimple(parts []string, acceptHeader string) (string, processingOpt
|
||||
}
|
||||
|
||||
func parsePath(ctx context.Context, rctx *fasthttp.RequestCtx) (context.Context, error) {
|
||||
path := string(rctx.RequestURI())
|
||||
path := string(rctx.Path())
|
||||
parts := strings.Split(strings.TrimPrefix(path, "/"), "/")
|
||||
|
||||
var acceptHeader string
|
||||
|
Reference in New Issue
Block a user