1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-11 09:22:40 +01:00
phorge-phorge/src/applications/phame
Jakub Vrana e8dd67b88c Properly escape inline <script>
Test Plan:
Loaded Phabricator page, checked the source code. Also:

    $c_uri = '//connect.facebook.net/en_US/all.js#xfbml=1&appId=';
    echo CelerityStaticResourceResponse::renderInlineScript(
      jsprintf(
        'console.log(%s); // </script>
        %s',
        $c_uri,
        "</script><b>x</b>"));

Reviewers: epriestley, btrahan

Reviewed By: epriestley

CC: aran, Korvin

Differential Revision: https://secure.phabricator.com/D5741
2013-04-20 17:55:47 -07:00
..
application Added beta status for applications 2013-01-19 10:31:28 -08:00
config Fix typo in default phame config 2013-01-25 00:40:04 +04:00
controller Modernize Phame 2013-04-14 08:02:29 -07:00
query Introduce PhabricatorEmptyQueryException 2013-03-06 19:22:00 -08:00
skins Require a viewer to load handles 2013-02-28 17:15:09 -08:00
storage Require a viewer to load handles 2013-02-28 17:15:09 -08:00
view Properly escape inline <script> 2013-04-20 17:55:47 -07:00