mirror of
https://github.com/imgproxy/imgproxy.git
synced 2025-01-23 11:14:48 +02:00
Deprecate basic URL format
This commit is contained in:
parent
bb9294f163
commit
ce5116b9ec
@ -10,6 +10,9 @@
|
||||
### Fix
|
||||
- (pro) Fix path prefix support in the `/info` handler.
|
||||
|
||||
### Deprecated
|
||||
- The [basic URL format](https://docs.imgproxy.net/generating_the_url_basic) is deprecated and can be removed in future versions. Use [advanced URL format](https://docs.imgproxy.net/generating_the_url_advanced) instead.
|
||||
|
||||
## [2.16.7] - 2021-07-20
|
||||
### Change
|
||||
- Reset DPI while stripping meta.
|
||||
|
@ -1122,6 +1122,8 @@ func parsePathPresets(parts []string, headers *processingHeaders) (string, *proc
|
||||
}
|
||||
|
||||
func parsePathBasic(parts []string, headers *processingHeaders) (string, *processingOptions, error) {
|
||||
logWarning("The basic URL format is deprecated and can be removed in future versions. Use advanced URL format instead")
|
||||
|
||||
if len(parts) < 6 {
|
||||
return "", nil, fmt.Errorf("Invalid basic URL format arguments: %s", strings.Join(parts, "/"))
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user