eclipse-ee4j / mojarra

Mojarra, a Jakarta Faces implementation
Other
166 stars 112 forks source link

Handle empty mapping in normalizeRequestURI #5526

Closed pdudits closed 1 week ago

pdudits commented 3 weeks ago

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 commented 1 week ago

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