mirror of
https://github.com/imgproxy/imgproxy.git
synced 2025-09-28 20:43:54 +02:00
Preserve headers in svg.FixUnsupported
This commit is contained in:
@@ -194,8 +194,9 @@ func FixUnsupported(data *imagedata.ImageData) (*imagedata.ImageData, bool, erro
|
||||
}
|
||||
|
||||
newData := imagedata.ImageData{
|
||||
Data: buf.Bytes(),
|
||||
Type: data.Type,
|
||||
Data: buf.Bytes(),
|
||||
Type: data.Type,
|
||||
Headers: data.Headers,
|
||||
}
|
||||
newData.SetCancel(cancel)
|
||||
|
||||
|
Reference in New Issue
Block a user