Tweaking how wildcards are supported in protected paths