diff options
author | Magnus Hagander | 2020-02-08 16:55:28 +0000 |
---|---|---|
committer | Magnus Hagander | 2020-02-08 16:57:02 +0000 |
commit | 6060bb6cf050c8207a69b502e03817414ed3f426 (patch) | |
tree | dace2487364a183d8e0f01eece22e54c3a676c7b /postgresqleu/util/request.py | |
parent | d4052467a875ce4f9f1d0b3da232fde76bce5190 (diff) |
Guard against missing parameters
There were a few places that directly accessed request.GET/POST without
verifying that the parameter actually existed first. This would cause a
hard 500 internal server error -- so to make that nicer, instead look
for them and exit with a 404 if the data is incomplete.
Diffstat (limited to 'postgresqleu/util/request.py')
0 files changed, 0 insertions, 0 deletions