Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[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 searxng#2972 Signed-off-by: Markus Heiser <[email protected]>
- Loading branch information