Update of /var/cvs/html/mmbase/components/core
In directory james.mmbase.org:/tmp/cvs-serv710

Modified Files:
        request.jspx 
Log Message:
escape values


See also: http://cvs.mmbase.org/viewcvs/html/mmbase/components/core


Index: request.jspx
===================================================================
RCS file: /var/cvs/html/mmbase/components/core/request.jspx,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- request.jspx        6 Jan 2009 17:01:27 -0000       1.3
+++ request.jspx        8 Jan 2009 00:15:42 -0000       1.4
@@ -20,12 +20,12 @@
            <td>
              <c:choose>
                <c:when test="${fn:length(entry.value) eq 1}">
-                 <jsp:text>${entry.value[0]}</jsp:text>
+                  <jsp:text><mm:escape>${entry.value[0]}</mm:escape></jsp:text>
                </c:when>
                <c:otherwise>
                  <ul>
                    <c:forEach items="${entry.value}" var="value">
-                     <li>${value}</li>
+                      <li><mm:escape>${value}</mm:escape></li>
                    </c:forEach>
                  </ul>
                </c:otherwise>
@@ -40,7 +40,7 @@
        <c:forEach items="${requestScope}" var="entry">
          <tr>
            <th>${entry.key}</th>
-           <td>${entry.value}</td>
+            <td><mm:escape>${entry.value}</mm:escape></td>
          </tr>
        </c:forEach>
       </table>
@@ -53,12 +53,12 @@
            <td>
              <c:choose>
                <c:when test="${fn:length(entry.value) eq 1}">
-                 <jsp:text>${entry.value[0]}</jsp:text>
+                  <jsp:text><mm:escape>${entry.value[0]}</mm:escape></jsp:text>
                </c:when>
                <c:otherwise>
                  <ul>
                    <c:forEach items="${entry.value}" var="value">
-                     <li>${value}</li>
+                      <li><mm:escape>${value}</mm:escape></li>
                    </c:forEach>
                  </ul>
                </c:otherwise>
@@ -73,12 +73,12 @@
        <c:forEach items="${cookie}" var="entry">
          <tr>
            <th rowspan="6">${entry.key}</th>
-           <th>value</th><td>${entry.value.value}</td>
+            <th>value</th><td><mm:escape>${entry.value.value}</mm:escape></td>
          </tr>
          <tr><th>path</th><td>${entry.value.path}</td></tr>
          <tr><th>secure</th><td>${entry.value.secure}</td></tr>
          <tr><th>max age</th><td>${entry.value.maxAge}</td></tr>
-         <tr><th>comment</th><td>${entry.value.comment}</td></tr>
+          
<tr><th>comment</th><td><mm:escape>${entry.value.comment}</mm:escape></td></tr>
          <tr><th>version</th><td>${entry.value.version}</td></tr>
        </c:forEach>
       </table>
@@ -88,7 +88,7 @@
        <c:forEach items="${sessionScope}" var="entry">
          <tr>
            <th>${entry.key}</th>
-           <td>${entry.value}</td>
+            <td><mm:escape>${entry.value}</mm:escape></td>
          </tr>
        </c:forEach>
       </table>
@@ -98,7 +98,7 @@
        <c:forEach items="${applicationScope}" var="entry">
          <tr>
            <th>${entry.key}</th>
-           <td>${entry.value}</td>
+            <td><mm:escape>${entry.value}</mm:escape></td>
          </tr>
        </c:forEach>
       </table>
@@ -108,7 +108,7 @@
        <c:forEach items="${pageScope}" var="entry">
          <tr>
            <th>${entry.key}</th>
-           <td>${entry.value}</td>
+            <td><mm:escape>${entry.value}</mm:escape></td>
          </tr>
        </c:forEach>
       </table>
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to