Author: chrisz
Date: Mon Jan 17 03:33:27 2011
New Revision: 7204
URL: http://trac.turbogears.org/changeset/7204
Log:
Set default parameters for the encode tool.
Modified:
branches/1.5/turbogears/startup.py
Modified: branches/1.5/turbogears/startup.py
==============================================================================
--- branches/1.5/turbogears/startup.py Tue Jan 11 10:02:46 2011 (r7203)
+++ branches/1.5/turbogears/startup.py Mon Jan 17 03:33:27 2011 (r7204)
@@ -112,7 +112,9 @@
'tools.decode.on': True,
'tools.decode.encoding': encoding,
'tools.encode.on': False,
- 'tools.encode.encoding': encoding}})
+ 'tools.encode.encoding': encoding,
+ 'tools.encode.text_only': False,
+ 'tools.encode.add_charset': False}})
webpath = config.get('server.webpath') or ''
webpath = webpath.lstrip('/')
if webpath and not webpath.endswith('/'):