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

Do not redirect to 404 with 302 #6967

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

bambuca
Copy link

@bambuca bambuca commented Dec 18, 2023

It was inspired by UseStatusCodePagesWithReExecute method from Microsoft.AspNetCore.Builder.StatusCodePagesExtensions class.

Now, the non-existing URL does not redirect with a 302 but directly returns staus 404.

This resolves #6966

@bambuca bambuca force-pushed the issue-6966-302-and-404-redirect branch from 80b0945 to 619c3d6 Compare December 22, 2023 18:54
@bambuca
Copy link
Author

bambuca commented Dec 22, 2023

conflict with develop branch resolved

@bambuca
Copy link
Author

bambuca commented Feb 9, 2024

Is there a chance for merging this PR?

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

Successfully merging this pull request may close these issues.

Non existing page - first 302 and then 404
2 participants