Jelajahi Sumber

Cookie optimizations

walkor 2 tahun lalu
induk
melakukan
b299157d73
1 mengubah file dengan 0 tambahan dan 4 penghapusan
  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, '"');
             }
         }