Skip to content

Commit 9289ab1

Browse files
author
Mark Baker
authored
Replace anti-xss with html purifier (#1751)
* Replace voku/anti-xss with ezyang/htmlpurifier. Despite anti-xss being a smaller footprint dependency, an a better license fit with our MIT license, there are issues with it's automatic it sanitisation of global variables causing side effects * Additional unit tests for xss in html writer cell comments
1 parent 957cb62 commit 9289ab1

File tree

4 files changed

+354
-578
lines changed

4 files changed

+354
-578
lines changed

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
"psr/simple-cache": "^1.0",
6060
"psr/http-client": "^1.0",
6161
"psr/http-factory": "^1.0",
62-
"voku/anti-xss": "^4.1"
62+
"ezyang/htmlpurifier": "^4.13"
6363
},
6464
"require-dev": {
6565
"dompdf/dompdf": "^0.8.5",

0 commit comments

Comments
 (0)