[Zope-Checkins] SVN: Zope/branches/Zope-2_8-branch/lib/python/OFS/dtml/main.dtml - replaced url_quote by html_quote for hidden add value (pushing the add button escapes the value again)

Yvo Schubbe y.2005- at wcm-solutions.de
Mon Nov 21 06:07:33 EST 2005


Log message for revision 40294:
  - replaced url_quote by html_quote for hidden add value (pushing the add button escapes the value again)

Changed:
  U   Zope/branches/Zope-2_8-branch/lib/python/OFS/dtml/main.dtml

-=-
Modified: Zope/branches/Zope-2_8-branch/lib/python/OFS/dtml/main.dtml
===================================================================
--- Zope/branches/Zope-2_8-branch/lib/python/OFS/dtml/main.dtml	2005-11-21 04:47:53 UTC (rev 40293)
+++ Zope/branches/Zope-2_8-branch/lib/python/OFS/dtml/main.dtml	2005-11-21 11:07:32 UTC (rev 40294)
@@ -48,7 +48,7 @@
     <input class="form-element" type="submit" name="submit" value=" Add " />
   <dtml-else>
     <dtml-in filtered_meta_types mapping sort=name>
-    <input type="hidden" name=":method" value="&dtml.url_quote-action;" />
+    <input type="hidden" name=":method" value="&dtml.html_quote-action;" />
     <input class="form-element" type="submit" name="submit" value="Add &dtml-name;" />
     </dtml-in>
   </dtml-if>



More information about the Zope-Checkins mailing list