summaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorJelle van der Waa <jelle@vdwaa.nl>2019-07-28 12:29:32 +0200
committerJelle van der Waa <jelle@vdwaa.nl>2019-07-28 12:29:32 +0200
commitc47aacb30fbf14b3b9ea1f0d05c0a3b08311f9e8 (patch)
tree2cf4b0dbb25b6c0546c1913a73b7142c2738d12a /.travis.yml
parent4678d90c86078e0f43648193242d07635e107c1f (diff)
downloadarchweb-c47aacb30fbf14b3b9ea1f0d05c0a3b08311f9e8.tar.gz
archweb-c47aacb30fbf14b3b9ea1f0d05c0a3b08311f9e8.zip
Handle null byte searches
Some vulnerability scanners try to find security issues in all webforms and submit invalid null byte into the search from. This is cleaned out by django and leads to 'q' not being set which gives a 500 error. Check if the 'q' key exists in the cleaned_data if not return an empty list. Signed-off-by: Jelle van der Waa <jelle@vdwaa.nl>
Diffstat (limited to '.travis.yml')
0 files changed, 0 insertions, 0 deletions