Something went wrong. Try again.
@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
Something went wrong. Try again.
Disallow <! in <script> master
Summary: HTML5 has this crazy script escaping states: - Script data escaped dash dash state - Script data double escaped state https://communities.coverity.com/blogs/security/2012/11/16/did-i-do-that-html-5-js-escapers-3 Perhaps `<!` is too aggressive but I didn't spend much time searching for a more fine grained expression. Test Plan: Searched for `renderInlineScript()`. Reviewers: epriestley Reviewed By: epriestley CC: Korvin, epriestley, aran Differential Revision: https://secure.phabricator.com/D7329
Author Jakub Vrana Date (Oct 16, 2013, 4:28 PM UTC) Commit 29391a65 29391a658e772e4cdaad68cbbed748981cda0ddd Parent d34143c7 d34143c7233314473ef470bc0f26f7436e4b52bd