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
{{ message }}
Repository navigation
strtolower() expects parameter 1 to be string, array given #117
Note that this URL you've provided is indeed "invalid" as it actually uses double encoded chunks, so this doesn't render properly in Firefox or any other HTTP client either. As per the HTTP specs the HTTP client should interpret one such encoding and thus return a response that is still encoded once.
It may take a while before I get to look into this, so any help with addressing this is much appreciated
Activity
* fix: reactphp#117
* fix: reactphp#117
clue commentedon Jan 16, 2018
Thank you for reporting, I can confirm that there's an issue in this library 👍
The
Responseclass should not report an error here and try to handle this situation in a sane way as per RFC 7230: https://tools.ietf.org/html/rfc7230#section-3.3.3Note that this URL you've provided is indeed "invalid" as it actually uses double encoded chunks, so this doesn't render properly in Firefox or any other HTTP client either. As per the HTTP specs the HTTP client should interpret one such encoding and thus return a response that is still encoded once.
It may take a while before I get to look into this, so any help with addressing this is much appreciated