Mercurial > hg > isophonics-drupal-site
diff vendor/symfony/browser-kit/Cookie.php @ 12:7a779792577d
Update Drupal core to v8.4.5 (via Composer)
author | Chris Cannam |
---|---|
date | Fri, 23 Feb 2018 15:52:07 +0000 |
parents | 4c8ae668cc8c |
children | 5fb285c0d0e3 |
line wrap: on
line diff
--- a/vendor/symfony/browser-kit/Cookie.php Fri Feb 23 15:51:18 2018 +0000 +++ b/vendor/symfony/browser-kit/Cookie.php Fri Feb 23 15:52:07 2018 +0000 @@ -21,8 +21,6 @@ /** * Handles dates as defined by RFC 2616 section 3.3.1, and also some other * non-standard, but common formats. - * - * @var array */ private static $dateFormats = array( 'D, d M Y H:i:s T', @@ -62,7 +60,7 @@ $this->rawValue = $value; } else { $this->value = $value; - $this->rawValue = urlencode($value); + $this->rawValue = rawurlencode($value); } $this->name = $name; $this->path = empty($path) ? '/' : $path; @@ -82,10 +80,6 @@ /** * Returns the HTTP representation of the Cookie. - * - * @return string The HTTP representation of the Cookie - * - * @throws \UnexpectedValueException */ public function __toString() {