hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Owen O'Malley (JIRA)" <j...@apache.org>
Subject [jira] Issue Comment Edited: (HADOOP-6151) The servlets should quote html characters
Date Wed, 15 Jul 2009 22:57:14 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-6151?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12731727#action_12731727
] 

Owen O'Malley edited comment on HADOOP-6151 at 7/15/09 3:56 PM:
----------------------------------------------------------------

I believe the transforms should be:
  1. & -> &amp;amp;
  2. < -> &amp;lt;
  3. > -> &amp;gt;
  4. ' -> &amp;apos;
  5. "-> &amp;quot;

As long as we do those transforms, any html that the user includes in their data will just
be treated as literal text rather than html commands.

      was (Author: owen.omalley):
    I believe the transforms should be:
  1. & -> &amp;
  2. < -> &lt;
  3. > -> &gt;
  4. ' -> &apos;
  5. "-> &quot;

As long as we do those transforms, any html that the user includes in their data will just
be treated as literal text rather than html commands.
  
> The servlets should quote html characters
> -----------------------------------------
>
>                 Key: HADOOP-6151
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6151
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: security
>            Reporter: Owen O'Malley
>            Priority: Critical
>
> We need to quote html characters that come from user generated data. Otherwise, all of
the web ui's have cross site scripting attack, etc.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message