mozilla / sanitizer-polyfill

rewrite constructor arguments, call DOMPurify, profit
https://mozilla.github.io/sanitizer-polyfill/demo/
Mozilla Public License 2.0
66 stars 8 forks source link

The demo page is broken #294

Open lilianalillyy opened 6 months ago

lilianalillyy commented 6 months ago

The page is trying to load the polyfill script at https://mozilla.github.io/sanitizer-polyfill/dist/sanitizer-polyfill.js, however the file is not available there anymore, causing the whole demo to be completly broken.

mozfreddyb commented 6 months ago

Thank you for filing this issue. The polyfill is indeed in a bit of a sorry state: The spec is under heavy development is undergoing some major breaking changes.

I hope to find some time when the spec has matured a bit further.

Until then, I'm grateful for people helping out with minor quirks and issues (like the path issue you describe) in pull requests.

lilianalillyy commented 6 months ago

Thank you for filing this issue. The polyfill is indeed in a bit of a sorry state: The spec is under heavy development is undergoing some major breaking changes.

I hope to find some time when the spec has matured a bit further.

Until then, I'm grateful for people helping out with minor quirks and issues (like the path issue you describe) in pull requests.

Yeah, I've been watching it closely, I personally have been using the polyfill on few of my sites (just ported to typescript), it works amazing and better than any solution I've used before, so I'm looking forward to see the spec develop further :)