fix client_cache_control regex
This commit is contained in:
parent
9b58b397c9
commit
7553ffb632
|
@ -38,7 +38,7 @@
|
|||
"help": "Value of the Cache-Control HTTP header.",
|
||||
"id": "client-cache-control",
|
||||
"label": "Cache-Control header",
|
||||
"regex": "^.*$",
|
||||
"regex": "^(?!(, ?| ))((, )?(((max-age|s-maxage|stale-while-revalidate|stale-if-error)=[0-9]+(?!.*6))|((?!.*public)private|(?!.*private)public)|(must|proxy)-revalidate|must-understand|immutable|no-(cache|store|transform)))+$",
|
||||
"type": "text"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue