Fix PERMISSIONS_POLICY authorizing self and links to be aside without spaces

This commit is contained in:
Théophile Diot 2023-06-27 12:05:50 -04:00
parent bcc9fdef90
commit d687b228e2
No known key found for this signature in database
GPG Key ID: E752C80DB72BB014
1 changed files with 1 additions and 1 deletions

View File

@ -105,7 +105,7 @@
"help": "Value for the Permissions-Policy header.",
"id": "permissions-policy",
"label": "Permissions-Policy",
"regex": "^(?![, ])(,? ?([a-z-]+)(?!.*[^-]\\2=)=(\\*|\\(( ?(self|\\u0022https?:\\/\\/[-\\w@:%.+~#=]+[-\\w()!@:%+.~#?&\\/=$]*\\u0022))*\\)))*$",
"regex": "^(?![, ])(,? ?([a-z-]+)(?!.*[^-]\\2=)=(\\*|\\(( ?(self|\\u0022https?:\\/\\/[-\\w@:%.+~#=]+[-\\w()!@:%+.~#?&\\/=$]*\\u0022)(?=[ \\)]))*\\)))*$",
"type": "text"
},
"FEATURE_POLICY": {