https://mathiasbynens.be/notes/json-dom-csp … - @mathias on escaping JSON for HTML, while complying with no-inline-script CSP rules.
-
-
Replying to @jaffathecake @mathias
Base64 is one (un)escape sequence as opposed to possibly every value. Just a thought
1 reply 0 retweets 0 likes -
I don't understand. A base64 encoding requires *everything* to be encoded, not just a few chars.
4 replies 0 retweets 0 likes
Replying to @jaffathecake @scopi72
I agree, Base64 doesn’t make sense. It also tends to bloat the file size. See the comments section
1:43 AM - 16 Oct 2016
0 replies
0 retweets
2 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
JavaScript, HTML, CSS, HTTP, performance, security, Bash, Unicode, i18n, macOS.