]> source.dussan.org Git - archiva.git/commitdiff
move info message into body, and ensure properly escaped
authorBrett Porter <brett@apache.org>
Sat, 29 Mar 2014 23:25:54 +0000 (23:25 +0000)
committerBrett Porter <brett@apache.org>
Sat, 29 Mar 2014 23:25:54 +0000 (23:25 +0000)
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/archiva-1.3.x@1583084 13f79535-47bb-0310-9956-ffa450edef68

archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/quickSearch.jsp

index 8dbf9b438facbd5a627c807858e7672e42bf7f51..42b0e7bad452aa7092c701f903958a07f75b0a2b 100644 (file)
   </script>
 </head>
 
-<s:if test="%{infoMessage != null}">
-  <p>${infoMessage}</p>
-</s:if>
-
 <body>
 
 <h1>Search</h1>
 <div id="contentArea">
 <div id="searchBox">
 
+<s:if test="%{infoMessage != null}">
+  <p><c:out value="${infoMessage}" /></p>
+</s:if>
+
   <c:url var="iconCreateUrl" value="/images/icons/create.png" />
   
   <s:form method="get" id="quickSearch" action="quickSearch" validate="true">    
 
 </div>
 </body>
-</html>
\ No newline at end of file
+</html>