[ 
https://issues.apache.org/jira/browse/MAPREDUCE-3111?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13968389#comment-13968389
 ] 

Mit Desai commented on MAPREDUCE-3111:
--------------------------------------

[~ojoshi], I was looking at the code for the NM Logs. I did not find the raw 
writer usage. Can you verify it and let me know where the raw writer is used?

> Fix log serving in NodeManager
> ------------------------------
>
>                 Key: MAPREDUCE-3111
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3111
>             Project: Hadoop Map/Reduce
>          Issue Type: Sub-task
>          Components: security
>    Affects Versions: 0.23.0
>            Reporter: Luke Lu
>            Assignee: Omkar Vinit Joshi
>              Labels: security, webapp
>             Fix For: 0.24.0
>
>
> Just noticed that the current log serving is using the raw writer (instead of 
> Hamlet) to serve logs without escaping html.
> It's actually easier/cleaner to use Hamlet to serve logs:
> {code}
> pre._(buffer);
> {code}
> which takes care of content escaping automatically.
> I will make raw writer access package private for framework use only.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to