mirror of
https://github.com/imgproxy/imgproxy.git
synced 2025-10-10 12:12:40 +02:00
Preserve headers in svg.FixUnsupported
This commit is contained in:
@@ -196,6 +196,7 @@ func FixUnsupported(data *imagedata.ImageData) (*imagedata.ImageData, bool, erro
|
|||||||
newData := imagedata.ImageData{
|
newData := imagedata.ImageData{
|
||||||
Data: buf.Bytes(),
|
Data: buf.Bytes(),
|
||||||
Type: data.Type,
|
Type: data.Type,
|
||||||
|
Headers: data.Headers,
|
||||||
}
|
}
|
||||||
newData.SetCancel(cancel)
|
newData.SetCancel(cancel)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user