We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7110f6c commit 7789139Copy full SHA for 7789139
src/CachePlugin.php
@@ -346,7 +346,7 @@ private function configureOptions(OptionsResolver $resolver)
346
$resolver->setAllowedValues('hash_algo', hash_algos());
347
$resolver->setAllowedValues('methods', function ($value) {
348
/* RFC7230 sections 3.1.1 and 3.2.6 except limited to uppercase characters. */
349
- $matches = preg_grep('/[^A-Z0-9!#$%&\'*\/+\-.^_`|~]/', $value);
+ $matches = preg_grep('/[^A-Z0-9!#$%&\'*+\-.^_`|~]/', $value);
350
351
return empty($matches);
352
});
0 commit comments