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

fix infinite redirect bug in ResourceFileServlet for EE10 #113

Closed
wants to merge 1 commit into from

Conversation

lachlan-roberts
Copy link
Collaborator

getMappedServlet("/") was finding the context root mapping instead of the default mapping, this could cause an infinite redirect bug.

This PR changes this to use getServletMapping("/") which tests by pathSpec.

ludoch pushed a commit that referenced this pull request Apr 29, 2024
--
1d008e7 by Lachlan Roberts <[email protected]>:

fix infinite redirect bug in ResourceFileServlet for EE10

Signed-off-by: Lachlan Roberts <[email protected]>
COPYBARA_INTEGRATE_REVIEW=#113 from GoogleCloudPlatform:ResourceFileServlet-infiniteRedirect 1d008e7
PiperOrigin-RevId: 628941837
Change-Id: I7d82a749da482858210818a584b69b577b38ed57
@ludoch ludoch closed this Apr 29, 2024
@lachlan-roberts lachlan-roberts deleted the ResourceFileServlet-infiniteRedirect branch May 8, 2024 06:15
srinjoyray pushed a commit that referenced this pull request Nov 12, 2024
--
1d008e7 by Lachlan Roberts <[email protected]>:

fix infinite redirect bug in ResourceFileServlet for EE10

Signed-off-by: Lachlan Roberts <[email protected]>
COPYBARA_INTEGRATE_REVIEW=#113 from GoogleCloudPlatform:ResourceFileServlet-infiniteRedirect 1d008e7
PiperOrigin-RevId: 628941837
Change-Id: I7d82a749da482858210818a584b69b577b38ed57
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.

2 participants