Fix CLIENT_CACHE_CONTROL setting's regex to also work with JS

This commit is contained in:
Théophile Diot 2023-05-22 09:55:21 -04:00
parent 41059fb282
commit be3d40f18a
No known key found for this signature in database
GPG Key ID: E752C80DB72BB014
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@
"help": "Value of the Cache-Control HTTP header.",
"id": "client-cache-control",
"label": "Cache-Control header",
"regex": "^(?!(, ?| ))((, )?(((max-age|s-maxage|stale-while-revalidate|stale-if-error)=\\d+(?!.*\\6))|((?!.*public)private|(?!.*private)public)|(must|proxy)-revalidate|must-understand|immutable|no-(cache|store|transform))(?!.*\\5))+$",
"regex": "^(?!(, ?| ))((, )?(((max-age|s-maxage|stale-while-revalidate|stale-if-error)=\\d+(?!.*\\6))|((?!.*public)private|(?!.*private)public)|(must|proxy)-revalidate|must-understand|immutable|no-(cache|store|transform))(?!.*\\4))+$",
"type": "text"
}
}