summaryrefslogtreecommitdiff
path: root/paste/httpexceptions.py
diff options
context:
space:
mode:
authorIan Bicking <ianb@colorstudy.com>2010-09-14 10:57:29 -0500
committerIan Bicking <ianb@colorstudy.com>2010-09-14 10:57:29 -0500
commit2f43ca51972a0cfa19b8dfedb38aa1eca3d21d79 (patch)
tree4c553cbecc5a9a2d65d7738023be9fdd7b7a85e1 /paste/httpexceptions.py
parentf135179046751bd421eba341cc56da0c984dbea8 (diff)
downloadpaste-2f43ca51972a0cfa19b8dfedb38aa1eca3d21d79.tar.gz
Just a bit more paranoia in quoting comments, though I wasn't able to reproduce any actual issue
Diffstat (limited to 'paste/httpexceptions.py')
-rw-r--r--paste/httpexceptions.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/paste/httpexceptions.py b/paste/httpexceptions.py
index 208d5cf..ede4f7e 100644
--- a/paste/httpexceptions.py
+++ b/paste/httpexceptions.py
@@ -212,7 +212,7 @@ class HTTPException(Exception):
def plain(self, environ):
""" text/plain representation of the exception """
- body = self.make_body(environ, strip_html(self.template), comment_quote)
+ body = self.make_body(environ, strip_html(self.template), no_quote, comment_quote)
return ('%s %s\r\n%s\r\n' % (self.code, self.title, body))
def html(self, environ):