igloo-parent
igloo-parent copied to clipboard
wicket-webjars: insufficient webjars pattern matching rule
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.