projects
/
yaffs-website
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Security update for Core, with self-updated composer
[yaffs-website]
/
web
/
core
/
lib
/
Drupal
/
Core
/
PageCache
/
RequestPolicy
/
CommandLineOrUnsafeMethod.php
diff --git
a/web/core/lib/Drupal/Core/PageCache/RequestPolicy/CommandLineOrUnsafeMethod.php
b/web/core/lib/Drupal/Core/PageCache/RequestPolicy/CommandLineOrUnsafeMethod.php
index bbf85a33e9976be9278663eb17f970b39947ca9d..27a1f7120d75b144e1ed68e0a1537a72a2e084f8 100644
(file)
--- a/
web/core/lib/Drupal/Core/PageCache/RequestPolicy/CommandLineOrUnsafeMethod.php
+++ b/
web/core/lib/Drupal/Core/PageCache/RequestPolicy/CommandLineOrUnsafeMethod.php
@@
-18,7
+18,7
@@
class CommandLineOrUnsafeMethod implements RequestPolicyInterface {
* {@inheritdoc}
*/
public function check(Request $request) {
- if ($this->isCli() || !$request->isMethod
Saf
e()) {
+ if ($this->isCli() || !$request->isMethod
Cacheabl
e()) {
return static::DENY;
}
}