WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
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 "[email protected]". 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