diff options
author | Peter Wu | 2014-07-21 11:09:21 +0200 |
---|---|---|
committer | Peter Wu | 2014-07-21 11:09:21 +0200 |
commit | ed418551cdb76a72c1323fd32cb3ef6f58e697d5 (patch) | |
tree | dba230c2b1b007dbc3fd768badad0e0a999d4b7e /plugin/conntrack.json | |
parent | Fix overly permissive hostname validation, fix host check (diff) | |
download | apt-panopticon_cgp-ed418551cdb76a72c1323fd32cb3ef6f58e697d5.zip apt-panopticon_cgp-ed418551cdb76a72c1323fd32cb3ef6f58e697d5.tar.gz apt-panopticon_cgp-ed418551cdb76a72c1323fd32cb3ef6f58e697d5.tar.bz2 apt-panopticon_cgp-ed418551cdb76a72c1323fd32cb3ef6f58e697d5.tar.xz |
Better x and y validation, report 400 on errors
Report 400 Bad Request on query errors instead of reporting 200 OK
(which can be cached).
Add some additional validation for the 'x' and 'y' parameters, to catch
underflow (test with `x=-10` for example). Also fix a typo in the error
message and include more details (the actual error).
Diffstat (limited to 'plugin/conntrack.json')
0 files changed, 0 insertions, 0 deletions