You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Owen O'Malley (JIRA)" <ji...@apache.org> on 2009/07/16 00:57:14 UTC

[jira] Commented: (HADOOP-6151) The servlets should quote html characters

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

Owen O'Malley commented on HADOOP-6151:
---------------------------------------

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.