DarthSim
|
523f3a6546
|
Clone headers in the svg package
|
2023-07-04 18:34:18 +03:00 |
|
DarthSim
|
93063787b1
|
Add svg package tests
|
2023-07-04 18:34:18 +03:00 |
|
DarthSim
|
5f3d551f25
|
Preserve headers in svg.FixUnsupported
|
2023-07-04 18:34:18 +03:00 |
|
Andrei Vydrin
|
4de9b83899
|
fix(svg/sanitize): preserve headers from origin data
|
2023-07-04 18:34:18 +03:00 |
|
DarthSim
|
62f8d08a93
|
Sanitize use tag in SVG
|
2023-02-25 18:59:28 +03:00 |
|
DarthSim
|
bbb6a3335d
|
Remove all known unsafe attrs from SVG during sanitization; Add Content-Security-Policy header to response
|
2023-01-11 18:32:21 +03:00 |
|
DarthSim
|
a518b3a4d2
|
Fix possible infinite loop during SVG sanitization
|
2022-10-28 21:00:51 +06:00 |
|
DarthSim
|
296d2db8cf
|
Use strings.Builder instead of bytes.Buffer in feDropShadow fix
|
2022-10-17 12:14:03 +06:00 |
|
DarthSim
|
4ab415fd9b
|
Fix feDropShadow SVG filter when IMGPROXY_SVG_FIX_UNSUPPORTED is true
|
2022-10-15 20:22:54 +06:00 |
|
DarthSim
|
f5f4fb6487
|
Borrow buffer from imagedata pool when sanitizing SVG
|
2022-10-15 19:31:04 +06:00 |
|
DarthSim
|
e1e2277a32
|
Sanitize SVG
|
2022-06-10 18:23:55 +06:00 |
|