Trap invalid URLs for submission forms
authorMagnus Hagander <magnus@hagander.net>
Sun, 26 Feb 2017 15:09:36 +0000 (16:09 +0100)
committerMagnus Hagander <magnus@hagander.net>
Sun, 26 Feb 2017 15:09:36 +0000 (16:09 +0100)
commite631ebbc37d1aeb21184d1ff2dbf7eab588decfa
tree9b209909276edc764dd021a873d185d14ff4ae52
parentce5fa507bee5ab3d8af1390f1a45d6a46ec6fb85
Trap invalid URLs for submission forms

I still haven't figured out where these come from, but generate a proper
404 when the URL is malformatted rather than trying to render it and
crash with an exception
pgweb/util/helpers.py