Explorar o código

commit e1f41dd333eddeb951de4d168890f4ac2fd8e7d4
Author: Chris Douglas <cdouglas@apache.org>
Date: Tue Mar 2 01:48:07 2010 -0800

MAPREDUCE-1454 from https://issues.apache.org/jira/secure/attachment/12437591/M1454-1y20.patch


git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-0.20-security-patches@1077267 13f79535-47bb-0310-9956-ffa450edef68

Owen O'Malley %!s(int64=14) %!d(string=hai) anos
pai
achega
f6fd26660e
Modificáronse 2 ficheiros con 2 adicións e 2 borrados
  1. 1 1
      src/webapps/job/jobqueue_details.jsp
  2. 1 1
      src/webapps/job/jobtracker.jsp

+ 1 - 1
src/webapps/job/jobqueue_details.jsp

@@ -39,7 +39,7 @@ private static final long serialVersionUID = 526456771152222127L;
 </h1>
 <div>
 Scheduling Information :
-<%= HtmlQuoting.quoteHtmlChars(schedulingInfoString.replaceAll("\n","<br/>")) %>
+<%= HtmlQuoting.quoteHtmlChars(schedulingInfoString).replaceAll("\n","<br/>") %>
 </div>
 <hr/>
 <%

+ 1 - 1
src/webapps/job/jobtracker.jsp

@@ -127,7 +127,7 @@ for(JobQueueInfo queue: queues) {
 %>
 <tr>
 <td><a href="jobqueue_details.jsp?queueName=<%=queueName%>"><%=queueName%></a></td>
-<td><%=HtmlQuoting.quoteHtmlChars(schedulingInformation.replaceAll("\n","<br/>")) %>
+<td><%=HtmlQuoting.quoteHtmlChars(schedulingInformation).replaceAll("\n","<br/>") %>
 </td>
 </tr>
 <%