Skip to content

Handle empty mapping in normalizeRequestURI#5533

Merged
BalusC merged 1 commit intoeclipse-ee4j:4.0from
pdudits:issue-5525
Dec 7, 2024
Merged

Handle empty mapping in normalizeRequestURI#5533
BalusC merged 1 commit intoeclipse-ee4j:4.0from
pdudits:issue-5525

Conversation

@pdudits
Copy link
Copy Markdown
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
@BalusC
Copy link
Copy Markdown
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