aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/plugin/conntrack.json
diff options
context:
space:
mode:
authorPeter Wu2014-07-21 11:09:21 +0200
committerPeter Wu2014-07-21 11:09:21 +0200
commited418551cdb76a72c1323fd32cb3ef6f58e697d5 (patch)
treedba230c2b1b007dbc3fd768badad0e0a999d4b7e /plugin/conntrack.json
parentFix overly permissive hostname validation, fix host check (diff)
downloadapt-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