Fixed XSS problem by escaping all slashes in JSON.
Before adoption: this commit came in with the history the project adopted, so no landing records it.
This also probes simplejson first to figure out if it escapes slashes which it did in earlier versions.
authored by Armin Ronacher · committed by Armin Ronacher · parent 268302f · Browse files · 2 files+13 added−1 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
2 files+13 added−1 removed
- tests:+2 added−0 removed
- other:+11 added−1 removed