summaryrefslogtreecommitdiff
path: root/searx/templates/simple/base.html
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarit.de>2023-10-29 11:20:41 +0100
committerMarkus Heiser <markus.heiser@darmarIT.de>2023-10-29 16:17:25 +0100
commit7e2e335dd1e06ea20496028abe58b3ad8b255662 (patch)
tree9a6fe6165b54239641f378cace08e1bf4434b212 /searx/templates/simple/base.html
parent9aeae2142bfca4cdbf49d295ade4fcebec5693a5 (diff)
[fix] limit maximum page number of a search query to page 50.
To test this PR run a local instance and try to query page 51: http://127.0.0.1:8888/search?q=foo&pageno=51 A parameter exception will be raised: searx.exceptions.SearxParameterException: Invalid value "51" for parameter pageno And the client will receive a HTTP 400 (Bad request). Closes https://github.com/searxng/searxng/issues/2972 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'searx/templates/simple/base.html')
0 files changed, 0 insertions, 0 deletions