You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Warning: preg_match(): Unknown modifier '/' in /app/guzzle/src/Guzzle/Plugin/Cookie/Cookie.php on line 440
Probably because the remote server is sending something stupid as the cookie domain. There is some normalization going on in the plugin, though the error means that something is getting through regardless. We might filter_var() the $cookieDomain against domain name, or something like that...
The text was updated successfully, but these errors were encountered:
Interesting. Filtering the domain could work. Do you know exactly what domain was provided when the error occurred, or can you think of a test case for this?
I didn't look deeper into it. I'd generally say it's risky to throw
concatenated strings as patterns for preg_match. Maybe it was some ipv6
address? or some international domain? or numeric domain? or something else
weird ... or just garbage in the cookie....
Getting those recently:
Probably because the remote server is sending something stupid as the cookie domain. There is some normalization going on in the plugin, though the error means that something is getting through regardless. We might
filter_var()
the$cookieDomain
against domain name, or something like that...The text was updated successfully, but these errors were encountered: