mirror of
https://github.com/imgproxy/imgproxy.git
synced 2025-10-09 19:52:30 +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{
|
||||
Data: buf.Bytes(),
|
||||
Type: data.Type,
|
||||
Headers: data.Headers,
|
||||
}
|
||||
newData.SetCancel(cancel)
|
||||
|
||||
|
Reference in New Issue
Block a user