prismicio-community / php-kit

Community maintained development kit for Prismic and the PHP language
https://prismic.io
Other
108 stars 82 forks source link

Fix experiment cookie parsing #109

Closed tremby closed 9 years ago

tremby commented 9 years ago

When getting a cookie via PHP's $_COOKIE superglobal, the value is already unescaped. Because of this, there was no instance of %20 to split on.

(Also changed preg_replace for explode, since there's no need for a slow regex here.)

tremby commented 9 years ago

Oh, looks like I duped #96.