Commits

Jason R. Coombs  committed 28c0c22

Backed out changeset: 4edcd4130108
A better fix is in cherrypy-3.2.x (1648a97b022e)

  • Participants
  • Parent commits 54c439f

Comments (0)

Files changed (1)

File cherrypy/_cperror.py

         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