Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

dmolineus
Copy link
Contributor

Q A
Branch? 4.4
Bug fix? yes
New feature? no
Deprecations? no
Tickets Fix #38207
License MIT
Doc PR -

As proposed by @nicolas-grekas this pull request removes the max_redirects setting in the \Symfony\Component\HttpKernel\HttpClientKernel::handle method.

It solves the issue that requests made by the \Symfony\Component\HttpClient\CachingHttpClient wouldn't follow redirects as described in the linked issue.

@dmolineus
Copy link
Contributor Author

Failing integration test AmqpExtIntegrationTest seems to be unrelated.

@@ -19,6 +19,7 @@
"php": ">=7.1.3",
"symfony/error-handler": "^4.4",
"symfony/event-dispatcher": "^4.4",
"symfony/http-client-contracts": "^4.4",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Constraint is wrong here, should be ^1.1|^2

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed with 1cc8fc2.

@fabpot
Copy link
Member

fabpot commented Sep 17, 2020

Thank you @dmolineus.

@fabpot fabpot merged commit 2f67bf3 into symfony:4.4 Sep 17, 2020
@dmolineus dmolineus deleted the hotfix/issue-38207 branch September 17, 2020 10:06
This was referenced Sep 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants