Closed ryanlerch closed 7 years ago
Previously it was 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
this change detects if a page under 1 is requested on the groups list and the users list, and returns the 400 error as was previously done if the number of pages exceeded the available number of pages.
👍 for me
:+1: from me
Previously it was 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
this change detects if a page under 1 is requested on the groups list and the users list, and returns the 400 error as was previously done if the number of pages exceeded the available number of pages.