-
Notifications
You must be signed in to change notification settings - Fork 7.9k
preserve BC after fix for #74216 #2443
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
I just change from |
ack, awaiting Sara |
As http://git.php.net/?p=php-src.git;a=commitdiff;h=bab0b99f376dac9170ac81382a5ed526938d595a was applied in 7.0, also needed in 7.0.18 /cc @weltling |
@remicollet yeah, it is in there, thanks for the ping. IMO we should not touch this. We'd otherwise would have to fix any special cases where any other garbage is appended to the port number, etc. AFM, the BC impact is acceptable in this case, as there's a low security impact and the test data is broken itself. Otherwise, probably a fix to this should be generalized, not checking for an explicit char like '/' at the end, but cutting off the non numeric garbage. Frankly, i'd not see it worth the effort as it might get complicated. Thanks. |
Ergh.... um.... I don't think we should preserve BC for transport strings that are broken by design. I regard this as a bug in Guzzle's test. The fact that garbage used to be ignored isn't an endorsement for allowing garbage indefinitely. |
At the absolute very least, garbage should be cause for raising a warning, so if we do need to pull something like this onto 7.0 and 7.1*, then it should make it clear that those transport strings are malformed.
|
I think we have consensus on keeping as it is. |
No description provided.