annotate roundup/cgi/__init__.py @ 6382:b35a50d02890

Fix issue2551129 - Template not found return 500 and traceback Handle traceback caused when requested @template is not found. Moved scope of try to include call to self.selectTemplate. Patch provided by Cedric Krier. Additional patch to make this case return 400 error since it is a client caused error. Test case added.
author John Rouillard <rouilj@ieee.org>
date Sun, 18 Apr 2021 20:54:48 -0400
parents fc52d57c6c3e
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2005
fc52d57c6c3e documentation cleanup
Richard Jones <richard@users.sourceforge.net>
parents: 1301
diff changeset
1 ''' CGI interface modules '''
fc52d57c6c3e documentation cleanup
Richard Jones <richard@users.sourceforge.net>
parents: 1301
diff changeset
2 __docformat__ = 'restructuredtext'

Roundup Issue Tracker: http://roundup-tracker.org/