Skip to content

Incorrect output with invalid routing query #9537

Open

Description

Current Behavior

If you go crates.io/users/$USERNAME?page=N,
where N > $USERNAME.crates.len() / 10, than output will be empty page, rather then reroute to last page or returning an error.

Expected Behavior

Reroute/show last page/return error.

Steps To Reproduce

No response

Environment

  • Browser: Safari
  • OS:

Anything else?

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions