comparison roundup/cgi/wsgi_handler.py @ 5673:6b6bc8d31caf

Merged
author Ralf Schlatterbeck <rsc@runtux.com>
date Mon, 25 Mar 2019 19:47:29 +0100
parents 5579fa034f9e
children 1a835db41674
comparison
equal deleted inserted replaced
5672:a7211712b110 5673:6b6bc8d31caf
67 request.translator) 67 request.translator)
68 try: 68 try:
69 client.main() 69 client.main()
70 except roundup.cgi.client.NotFound: 70 except roundup.cgi.client.NotFound:
71 request.start_response([('Content-Type', 'text/html')], 404) 71 request.start_response([('Content-Type', 'text/html')], 404)
72 request.wfile.write(s2b('Not found: %s'%client.path)) 72 request.wfile.write(s2b('Not found: %s'%cgi.escape(client.path)))
73 73
74 # all body data has been written using wfile 74 # all body data has been written using wfile
75 return [] 75 return []
76 76
77 def start_response(self, headers, response_code): 77 def start_response(self, headers, response_code):

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