How to pass Regex to Shield


Tried to pass a Regex /^\/(api)\//g to Shield’s CSRF filterUris and nothing happed.
How it should be done?


Hey @keeross! :wave:

If you want to match all url with /api/* you may want to use ^\/(api)\/[a-z0-9.\-_]+\/? .


Yeah the regex is not correct, @keeross you can try your regexes on