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

Avoid duplicate JAR resources in PathMatchingResourcePatternResolver on MS Windows #31603

Closed
sbrannen opened this issue Nov 14, 2023 · 1 comment
Assignees
Labels
in: core Issues in core modules (aop, beans, core, context, expression) type: bug A general bug
Milestone

Comments

@sbrannen
Copy link
Member

@sbrannen sbrannen added type: bug A general bug in: core Issues in core modules (aop, beans, core, context, expression) labels Nov 14, 2023
@sbrannen sbrannen added this to the 5.3.31 milestone Nov 14, 2023
@sbrannen sbrannen self-assigned this Nov 14, 2023
@sbrannen sbrannen changed the title Avoid duplicate JAR resources in PathMatchingResourcePatternResolver on MS Windows Avoid duplicate JAR resources in PathMatchingResourcePatternResolver on MS Windows Nov 14, 2023
sbrannen pushed a commit that referenced this issue Nov 14, 2023
…indows

This commit updates PathMatchingResourcePatternResolver to avoid
returning duplicate resources on MS Windows when searching using the
`classpath*:` prefix and a wildcard pattern that matches resources
which are directly present in a JAR as well as present via classpath
manifest entries.

See gh-31598
Closes gh-31603

(cherry picked from commit d5874ab)
sbrannen added a commit that referenced this issue Nov 14, 2023
See gh-31598
See gh-31603

(cherry picked from commit e71117d)
@sbrannen
Copy link
Member Author

Closed via af59358 and c489234

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: core Issues in core modules (aop, beans, core, context, expression) type: bug A general bug
Projects
None yet
Development

No branches or pull requests

1 participant