[ 
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. & -> &
  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.

Reply via email to