Return-Path: X-Original-To: apmail-hadoop-mapreduce-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-mapreduce-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D658811861 for ; Mon, 21 Apr 2014 15:50:31 +0000 (UTC) Received: (qmail 48753 invoked by uid 500); 21 Apr 2014 15:50:25 -0000 Delivered-To: apmail-hadoop-mapreduce-issues-archive@hadoop.apache.org Received: (qmail 48611 invoked by uid 500); 21 Apr 2014 15:50:24 -0000 Mailing-List: contact mapreduce-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: mapreduce-issues@hadoop.apache.org Delivered-To: mailing list mapreduce-issues@hadoop.apache.org Received: (qmail 48411 invoked by uid 99); 21 Apr 2014 15:50:22 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 Apr 2014 15:50:22 +0000 Date: Mon, 21 Apr 2014 15:50:21 +0000 (UTC) From: "Mit Desai (JIRA)" To: mapreduce-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (MAPREDUCE-3111) Fix log serving in NodeManager MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/MAPREDUCE-3111?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mit Desai resolved MAPREDUCE-3111. ---------------------------------- Resolution: Fixed Fix Version/s: (was: 0.24.0) > 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)