Quellcode durchsuchen

Cookie optimizations

walkor vor 2 Jahren
Ursprung
Commit
b299157d73
1 geänderte Dateien mit 0 neuen und 4 gelöschten Zeilen
  1. 0 4
      src/Protocols/Http/Request.php

+ 0 - 4
src/Protocols/Http/Request.php

@@ -176,10 +176,6 @@ class Request
             $this->data['cookie'] = [];
             parse_str(preg_replace('/; ?/', '&', $this->header('cookie', '')), $this->data['cookie']);
             foreach ($this->data['cookie'] as $key => $value) {
-                if ($key[0] ?? '' === '$') {
-                    unset($this->data['cookie'][$key]);
-                    continue;
-                }
                 $this->data['cookie'][$key] = trim($value, '"');
             }
         }