From 2f43ca51972a0cfa19b8dfedb38aa1eca3d21d79 Mon Sep 17 00:00:00 2001 From: Ian Bicking Date: Tue, 14 Sep 2010 10:57:29 -0500 Subject: Just a bit more paranoia in quoting comments, though I wasn't able to reproduce any actual issue --- paste/httpexceptions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'paste/httpexceptions.py') 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): -- cgit v1.2.1