[Zope-Checkins] CVS: Zope/lib/python/ZPublisher - HTTPRequest.py:1.61.6.12
Martijn Pieters
mj@zope.com
Mon, 19 Aug 2002 10:56:08 -0400
Update of /cvs-repository/Zope/lib/python/ZPublisher
In directory cvs.zope.org:/tmp/cvs-serv26710/lib/python/ZPublisher
Modified Files:
Tag: Zope-2_5-branch
HTTPRequest.py
Log Message:
Disable autoquoting by default, allow enabelinbg with an environment
variable. Only for Zope 2.5, in 2.6 auto quoting will remain enabled by
default.
=== Zope/lib/python/ZPublisher/HTTPRequest.py 1.61.6.11 => 1.61.6.12 ===
--- Zope/lib/python/ZPublisher/HTTPRequest.py:1.61.6.11 Thu Aug 1 14:38:41 2002
+++ Zope/lib/python/ZPublisher/HTTPRequest.py Mon Aug 19 10:56:08 2002
@@ -56,7 +56,7 @@
default_port={'http': '80', 'https': '443'}
tainting_env = str(os.environ.get('ZOPE_DTML_REQUEST_AUTOQUOTE', '')).lower()
-TAINTING_ENABLED = tainting_env not in ('disabled', '0', 'no')
+TAINTING_ENABLED = tainting_env in ('enabled', '1', 'yes')
_marker=[]
class HTTPRequest(BaseRequest):