Closed ryanlerch closed 7 years ago
Currently it is possible with the pagination URLs on the people and groups lists to request page 0 or a negative page, for example:
https://admin.stg.fedoraproject.org/fas3/groups/page/-4 https://admin.stg.fedoraproject.org/fas3/people/page/0
Currently if you send this request, it just shows page 1, but we should return a 400 like we do when you exceed the number of available pages:
https://admin.stg.fedoraproject.org/fas3/people/page/500000000
Currently it is possible with the pagination URLs on the people and groups lists to request page 0 or a negative page, for example:
https://admin.stg.fedoraproject.org/fas3/groups/page/-4 https://admin.stg.fedoraproject.org/fas3/people/page/0
Currently if you send this request, it just shows page 1, but we should return a 400 like we do when you exceed the number of available pages:
https://admin.stg.fedoraproject.org/fas3/people/page/500000000