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

Handle empty mapping in normalizeRequestURI #5526

Closed
wants to merge 1 commit into from

Conversation

pdudits
Copy link

@pdudits pdudits commented Nov 5, 2024

Fixes #5525.

I assume mapping is not null, but the assumption was in the previous version as well by means of calling .startsWith(mapping).

Project builds, and the fix can be tested by trivial example where facesServlet would be mapped to /*.

@BalusC
Copy link
Contributor

BalusC commented Nov 16, 2024

Excellent, but please recreate PR for 4.0 branch instead of master (5.0) branch.

@BalusC BalusC closed this Nov 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Endless loop in MultiViewHandler.normalizeRequestURI
2 participants