Raise a http 404 error on paths that are too long
commit2148cb084a35b4f03996fb8fc08a37e372c4d277
authorMagnus Hagander <magnus@hagander.net>
Thu, 10 Oct 2019 18:49:45 +0000 (10 20:49 +0200)
committerMagnus Hagander <magnus@hagander.net>
Thu, 10 Oct 2019 18:49:45 +0000 (10 20:49 +0200)
tree95bf6b6ed2fc2ffaee5a30da1271cde8c0bd1e56
parentff11e85e251856ffb00a56363bb961010f614ff9
Raise a http 404 error on paths that are too long

We never have any paths this long, and it's nicer to raise a proper 404
than a 500 internal server error.
pgweb/core/views.py