Fix PERMISSIONS_POLICY authorizing self and links to be aside without spaces
This commit is contained in:
parent
bcc9fdef90
commit
d687b228e2
|
@ -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": {
|
||||
|
|
Loading…
Reference in New Issue