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

getResourcePaths(String) allows navigation through the loader's directory structure when using Tomcat #17538

Closed
wants to merge 1 commit into from

Conversation

adavid9
Copy link
Contributor

@adavid9 adavid9 commented Jul 16, 2019

See gh-17262

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Jul 16, 2019
@wilkinsona wilkinsona self-assigned this Jul 18, 2019
@wilkinsona wilkinsona changed the title Prevents navigation through the loader's directory structure getResourcePaths(String) allows navigation through the loader's directory structure when using Tomcat Jul 18, 2019
@wilkinsona wilkinsona added type: bug A general bug and removed status: waiting-for-triage An issue we've not yet triaged labels Jul 18, 2019
@wilkinsona wilkinsona added this to the 2.1.x milestone Jul 18, 2019
@wilkinsona wilkinsona modified the milestones: 2.1.x, 2.1.7 Jul 18, 2019
@wilkinsona
Copy link
Member

wilkinsona commented Jul 18, 2019

Thank you very much for making your first contribution to Spring Boot, @adavid9. The proposed changes are now in both 2.1.x along with a little bit of polish. The polish primarily corrects the path that was suggested to add a leading /. It also adds some tests to verify the behaviour.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug A general bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants