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 #5533

Merged
merged 1 commit into from
Dec 7, 2024

Conversation

pdudits
Copy link
Contributor

@pdudits pdudits commented Nov 29, 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 BalusC merged commit 40c6f0f into eclipse-ee4j:4.0 Dec 7, 2024
3 checks passed
@BalusC
Copy link
Contributor

BalusC commented Dec 7, 2024

Problem reproduced and confirmed fixed with this.

@BalusC BalusC added this to the 4.0.10 milestone Dec 7, 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.

2 participants