Skip to content

FELIX-6854 Normalize web console resource paths - #541

Open
cziegeler wants to merge 1 commit into
masterfrom
fix-felix-6854-resource-path-normalization
Open

FELIX-6854 Normalize web console resource paths#541
cziegeler wants to merge 1 commit into
masterfrom
fix-felix-6854-resource-path-normalization

Conversation

@cziegeler

Copy link
Copy Markdown
Contributor

Normalize resource paths before loading classpath resources and verify that the normalized path remains within the res directory. Apply the guard to both the Servlet API base class and the deprecated SimpleWebConsolePlugin default implementation. Add regression tests for normal resource requests and traversal attempts.

Tests: mvn -q verify

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.

1 participant