DarthSim
|
523f3a6546
Clone headers in the svg package
|
1 gadu atpakaļ |
DarthSim
|
93063787b1
Add svg package tests
|
1 gadu atpakaļ |
DarthSim
|
5f3d551f25
Preserve headers in svg.FixUnsupported
|
1 gadu atpakaļ |
Andrei Vydrin
|
4de9b83899
fix(svg/sanitize): preserve headers from origin data
|
1 gadu atpakaļ |
DarthSim
|
62f8d08a93
Sanitize `use` tag in SVG
|
2 gadi atpakaļ |
DarthSim
|
bbb6a3335d
Remove all known unsafe attrs from SVG during sanitization; Add Content-Security-Policy header to response
|
2 gadi atpakaļ |
DarthSim
|
a518b3a4d2
Fix possible infinite loop during SVG sanitization
|
2 gadi atpakaļ |
DarthSim
|
296d2db8cf
Use strings.Builder instead of bytes.Buffer in feDropShadow fix
|
2 gadi atpakaļ |
DarthSim
|
4ab415fd9b
Fix feDropShadow SVG filter when IMGPROXY_SVG_FIX_UNSUPPORTED is true
|
2 gadi atpakaļ |
DarthSim
|
f5f4fb6487
Borrow buffer from imagedata pool when sanitizing SVG
|
2 gadi atpakaļ |
DarthSim
|
e1e2277a32
Sanitize SVG
|
2 gadi atpakaļ |