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

wicket-webjars: insufficient webjars pattern matching rule #68

Open
lalmeras opened this issue Jul 5, 2022 · 0 comments
Open

wicket-webjars: insufficient webjars pattern matching rule #68

lalmeras opened this issue Jul 5, 2022 · 0 comments
Labels

Comments

@lalmeras
Copy link
Member

lalmeras commented Jul 5, 2022

In de.agilecoders.wicket.webjars.collectors.AssetsMap.listAssets(String), matching is done with a asset.startsWith(prefix) condition.

If folderPath := "bootstrap" and asset := "META-INF/resources/webjars/bootstrap4/4.6.1/..." then resource will match.

Does wicket-webjars need a fix ? This behavior (matching with a startsWith without a path separator does not seem to be intended; we need to check wicket-webjars expected behavior and/or unit tests).

Encountered on ft-deploy-bs5, but this issue may be present on released versions.

@lalmeras lalmeras added the bug label Jul 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant