1
0
mirror of https://github.com/imgproxy/imgproxy.git synced 2025-12-07 23:32:55 +02:00

Security processing options

This commit is contained in:
DarthSim
2023-02-23 21:11:44 +03:00
parent 15aaadd359
commit 9416168575
12 changed files with 240 additions and 49 deletions

View File

@@ -295,7 +295,7 @@ func handleProcessing(reqID string, rw http.ResponseWriter, r *http.Request) {
checkErr(ctx, "download", err)
}
return imagedata.Download(imageURL, "source image", imgRequestHeader, cookieJar)
return imagedata.Download(imageURL, "source image", imgRequestHeader, cookieJar, po.SecurityOptions)
}()
if err == nil {