Mercurial > p > roundup > code
diff 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 |
line wrap: on
line diff
--- a/roundup/cgi/wsgi_handler.py Mon Mar 25 19:46:20 2019 +0100 +++ b/roundup/cgi/wsgi_handler.py Mon Mar 25 19:47:29 2019 +0100 @@ -69,7 +69,7 @@ client.main() except roundup.cgi.client.NotFound: request.start_response([('Content-Type', 'text/html')], 404) - request.wfile.write(s2b('Not found: %s'%client.path)) + request.wfile.write(s2b('Not found: %s'%cgi.escape(client.path))) # all body data has been written using wfile return []
