[Zope-Checkins] CVS: Zope/lib/python/Products/ExternalMethod/dtml - methodEdit.dtml:1.5

Florent Guillaume fg@nuxeo.com
Sun, 22 Dec 2002 12:54:31 -0500


Update of /cvs-repository/Zope/lib/python/Products/ExternalMethod/dtml
In directory cvs.zope.org:/tmp/cvs-serv14380/lib/python/Products/ExternalMethod/dtml

Modified Files:
	methodEdit.dtml 
Log Message:
Merged efge-death-to-dtml-var-branch into HEAD:

Removed most <dtml-var> to replace them with &dtml-foo;.
This corrects a number of potential XSS holes, and simplifies
auditability of the remaining legitimate <dtml-var>.


=== Zope/lib/python/Products/ExternalMethod/dtml/methodEdit.dtml 1.4 => 1.5 ===
--- Zope/lib/python/Products/ExternalMethod/dtml/methodEdit.dtml:1.4	Thu Oct 17 15:49:35 2002
+++ Zope/lib/python/Products/ExternalMethod/dtml/methodEdit.dtml	Sun Dec 22 12:54:00 2002
@@ -10,7 +10,7 @@
     </div>
     </td>
     <td align="left" valign="top">
-     <dtml-var name="id" html_quote>
+     &dtml-id;
     </td>
   </tr>
   <tr>
@@ -21,7 +21,7 @@
     </td>
     <td align="left" valign="top">
     <input type="text" name="title" size="40"
-     value="<dtml-var title html_quote>" />
+     value="&dtml-title;" />
     </td>
   </tr>
   <tr>
@@ -32,7 +32,7 @@
     </td>
     <td align="left" valign="top">
     <input type="text" name="module" size="40"
-     value="<dtml-var module html_quote>" />
+     value="&dtml-module;" />
     </td>
   </tr>
   <tr>
@@ -43,7 +43,7 @@
     </td>
     <td align="left" valign="top">
     <input type="text" name="function" size="40"
-     value="<dtml-var function html_quote>" />
+     value="&dtml-function;" />
     </td>
   </tr>
   <tr>