Skip to content

[FrameworkBundle] Do not pass the base uri twice to scoped http clients #37967

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

Merged
merged 1 commit into from
Aug 30, 2020

Conversation

fancyweb
Copy link
Contributor

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

I looked at my dumped scoped http client PHP file and I noticed the base uri was passed two times. I thought there was a bug somewhere in my configuration. Actually, we only need to pass it as the method argument here.

@fabpot
Copy link
Member

fabpot commented Aug 30, 2020

Thank you @fancyweb.

@fabpot fabpot merged commit 943cbd8 into symfony:4.4 Aug 30, 2020
@fabpot
Copy link
Member

fabpot commented Aug 30, 2020

@fancyweb I merged too fast, tests fail. Can you have a look?

fabpot added a commit that referenced this pull request Aug 30, 2020
This PR was merged into the 4.4 branch.

Discussion
----------

[FrameworkBundle] fix tests

| Q             | A
| ------------- | ---
| Branch?       | 4.4
| Bug fix?      | no
| New feature?  | no
| Deprecations? | no
| Tickets       | #37967 (comment)
| License       | MIT
| Doc PR        |

Commits
-------

19015ec [FrameworkBundle] fix tests
@fancyweb fancyweb deleted the fwb-http-client-scoped-base-uri branch August 31, 2020 07:17
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.

3 participants