Skip to content

wicket-webjars: insufficient webjars pattern matching rule #68

@lalmeras

Description

@lalmeras

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions