summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2012-12-26 09:54:53 -0500
committerJason R. Coombs <jaraco@jaraco.com>2012-12-26 09:54:53 -0500
commit92345043b7645ecba9ce76268448790f8185716f (patch)
treea6c6001f7d79f20a1ac08902335e034042ecf172
parent9869c61da7b558238e131986addaedf0a2e9363b (diff)
downloadcherrypy-92345043b7645ecba9ce76268448790f8185716f.tar.gz
Backed out changeset: 4edcd4130108
A better fix is in cherrypy-3.2.x (1648a97b022e)
-rw-r--r--cherrypy/_cperror.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cherrypy/_cperror.py b/cherrypy/_cperror.py
index 74c65e5d..3a60d150 100644
--- a/cherrypy/_cperror.py
+++ b/cherrypy/_cperror.py
@@ -459,7 +459,7 @@ def get_error_page(status, **kwargs):
if v is None:
kwargs[k] = ""
else:
- kwargs[k] = tonative(_escape(kwargs[k]))
+ kwargs[k] = _escape(kwargs[k])
# Use a custom template or callable for the error page?
pages = cherrypy.serving.request.error_page