Frédéric Guillot
|
16ff071365
feat(sanitizer): allow iframes from framatube.org
|
2 ماه پیش |
Frédéric Guillot
|
293209098a
fix(sanitizer): strip inner elements of blocked iframes
|
2 ماه پیش |
Frédéric Guillot
|
01888d8e32
fix: run go fix
|
3 ماه پیش |
jvoisin
|
7b65255757
refactor(sanitizer): handle deeply nested recursion
|
3 ماه پیش |
jvoisin
|
6a9d7894d1
refactor(sanitizer): improve how attributes are sanitized
|
3 ماه پیش |
Frédéric Guillot
|
5a8431b144
refactor(sanitizer): enforce isBlockedResource() on srcset URLs
|
3 ماه پیش |
Frédéric Guillot
|
9e760e14cd
test(sanitizer): rewrite TestSelfClosingTags
|
3 ماه پیش |
Frédéric Guillot
|
879e40670c
test: refactor TestImg and TestURIScheme
|
3 ماه پیش |
Frédéric Guillot
|
acfb7dc213
test: refactor TestAttrLowerCase
|
3 ماه پیش |
jvoisin
|
62f316c7cf
refactor(sanitizer): html attributes keys are always lowercase
|
3 ماه پیش |
Frédéric Guillot
|
89638b448a
refactor(sanitizer): remove workaround that strip large img width attribute
|
3 ماه پیش |
jvoisin
|
d8181b1f65
refactor(sanitizer): use a parser instead of a tokenizer
|
4 ماه پیش |
Frédéric Guillot
|
4892e04e9b
fix: avoid YouTube error 153 for embed iframes
|
6 ماه پیش |
Frédéric Guillot
|
7e2dd3afe6
fix: avoid YouTube error 153 video player configuration error
|
7 ماه پیش |
Frédéric Guillot
|
5e607be86a
refactor(config): rewrite config parser
|
8 ماه پیش |
jvoisin
|
485baf9654
refactor(misc): fix a handful of TODO
|
9 ماه پیش |
Julien Voisin
|
566670cc06
refactor: unexport symbols
|
9 ماه پیش |
Frédéric Guillot
|
cb617ff6e0
test(sanitizer): enhance tests for image width and height attributes
|
11 ماه پیش |
jvoisin
|
43546976d2
refactor(tests): use b.Loop() instead of for range b.N
|
11 ماه پیش |
Frédéric Guillot
|
6af4d69c39
test(sanitizer): add test case to cover Vimeo iframe rewrite without query string
|
11 ماه پیش |
Frédéric Guillot
|
27015a5e34
test(sanitizer): add unit test for 0x0 pixel tracker
|
11 ماه پیش |
Frédéric Guillot
|
3538c4271b
refactor(sanitizer): use global variables to avoid recreating slices on every call
|
11 ماه پیش |
Frédéric Guillot
|
ac44507af2
refactor(sanitizer): use a map for iframe allow list
|
11 ماه پیش |
Frédéric Guillot
|
cecc18420d
feat(sanitizer): add validation for empty width and height attributes in img tags
|
11 ماه پیش |
Frédéric Guillot
|
d53fd17e10
feat(sanitizer): validate MathML XML namespace
|
11 ماه پیش |
Frédéric Guillot
|
21d22d7f0b
feat(sanitizer): add support for fetchpriority and decoding attributes in img tags
|
11 ماه پیش |
Frédéric Guillot
|
8db637cb39
feat(ui): add user setting to control `target="_blank"` on links
|
11 ماه پیش |
Frédéric Guillot
|
828a4334db
fix(sanitizer): MathML tags are not fully supported by `golang.org/x/net/html`
|
1 سال پیش |
jvoisin
|
f916373f55
fix: allow the `<b>` tag
|
1 سال پیش |
Frédéric Guillot
|
462ba8d7f7
feat(sanitizer): allow `img` tags with only a `srcset` and no `src` attribute
|
1 سال پیش |