Kaynağa Gözat

Cookie optimizations

walkor 2 yıl önce
ebeveyn
işleme
8dc8414fb2
1 değiştirilmiş dosya ile 0 ekleme ve 3 silme
  1. 0 3
      src/Protocols/Http/Request.php

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

@@ -175,9 +175,6 @@ class Request
         if (!isset($this->data['cookie'])) {
             $this->data['cookie'] = [];
             parse_str(preg_replace('/; ?/', '&', $this->header('cookie', '')), $this->data['cookie']);
-            foreach ($this->data['cookie'] as $key => $value) {
-                $this->data['cookie'][$key] = trim($value, '"');
-            }
         }
         if ($name === null) {
             return $this->data['cookie'];