Skip to content

Add "@" to the resourcePattern Regex in ResourceMatcher.php #34

@schluchzi

Description

@schluchzi

In my case, I need to load a JS file named "sdk@0.1.26-site.compat.min.js". The regex pattern (in ResourceMatcher.php) splits the filename at the "@", so my file can't be loaded.

A concrete example: in my installation I use the "studiomitte/friendlycaptcha" extension, and this extension provides this file that contains an "@" in its name.

I think adding "@" to the regex pattern would be a good improvement, because there are also many files from jsDelivr that contain an "@" in their file path to define the version.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions