[ https://issues.apache.org/jira/browse/MAPREDUCE-3111?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jason Lowe reopened MAPREDUCE-3111: ----------------------------------- This was fixed by MAPREDUCE-4283, as that patch started using Hamlet's pre method to emit the log data. Reopening to close this as a duplicate for proper tracking of when this was fixed. > 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 > > 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)