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

Add IMGPROXY_ARGUMENTS_SEPARATOR and IMGPROXY_PRESETS_SEPARATOR configs

This commit is contained in:
DarthSim
2024-07-06 22:36:21 +03:00
parent 6e4967a278
commit 23baf1cae0
6 changed files with 56 additions and 25 deletions

View File

@@ -1173,7 +1173,7 @@ func parsePathPresets(parts []string, headers http.Header) (*ProcessingOptions,
return nil, "", err
}
presets := strings.Split(parts[0], ":")
presets := strings.Split(parts[0], config.ArgumentsSeparator)
urlParts := parts[1:]
if err = applyPresetOption(po, presets); err != nil {