Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix 404 when page query parameter is empty string #8578

Merged
merged 3 commits into from Nov 22, 2022

Conversation

shipengtaov
Copy link
Contributor

Description

It will return 404 if page query parameter is empty string, like /?page=.
Some of api testing tools will assign query parameter with empty string (like Apifox, as I know), this PR handles this case.

@stale
Copy link

stale bot commented Sep 28, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Sep 28, 2022
@tomchristie
Copy link
Member

I think this is okay yup.
Not clear why the CI hasn't run against this. (I'd like that first before merging)

@stale stale bot removed the stale label Sep 29, 2022
@tomchristie
Copy link
Member

Okay. Nudged it.

@auvipy auvipy merged commit 0ae3323 into encode:master Nov 22, 2022
@auvipy auvipy added the Bug label Nov 22, 2022
@auvipy
Copy link
Member

auvipy commented Nov 22, 2022

cross checked and merged

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants