* Andy McKay (andym@ActiveState.com) [010417 17:43]:
Isn't the traceback a html comment by default? Dont think I changed that.
Only if you're running in production mode...
<rant type="boring" age="old" frequency="often"> In either case, it's incorrect HTML and a security risk.
<reply type="standard" age="old" frequency="often"> You could supply the patch to do that... </reply>
<patch type="boring" age="new" frequency="once"> --- /tmp/ZPublisher.orig/HTTPResponse.py Mon Feb 12 12:53:20 2001 +++ HTTPResponse.py Wed Apr 18 10:29:36 2001 @@ -471,9 +471,11 @@ tb=self.format_exception(t,v,tb,200) tb=join(tb,'\n') tb=self.quoteHTML(tb) - if self.debug_mode: _tbopen, _tbclose = '<PRE>', '</PRE>' - else: _tbopen, _tbclose = '<!--', '-->' - return "\n%s\n%s\n%s" % (_tbopen, tb, _tbclose) + if self.debug_mode: + _tbopen, _tbclose = '<PRE>', '</PRE>' + return "\n%s\n%s\n%s" % (_tbopen, tb, _tbclose) + else: + return "\n" def redirect(self, location, status=302, lock=0): """Cause a redirection without raising an error""" </patch> Ciao! -- "Generally you don't see that kind of behavior in major appliances." --Dr. Peter Venkmann (Ghostbusters)" The Doctor What: A Holtje Production http://docwhat.gerf.org/ docwhat@gerf.org KF6VNC