Skip to content

[BrowserKit] Uppercase the "GET" method in redirects #19425

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
Jul 25, 2016

Conversation

jakzal
Copy link
Contributor

@jakzal jakzal commented Jul 25, 2016

Q A
Branch? 2.7
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets #19419
License MIT
Doc PR -

@@ -464,7 +464,7 @@ public function followRedirect()
$content = $request->getContent();
}

if ('get' === strtolower($method)) {
if ('GET' === strtoupper($method)) {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is only changed for consistency.

@javiereguiluz
Copy link
Member

👍

Status: reviewed

@nicolas-grekas
Copy link
Member

Thank you @jakzal.

@nicolas-grekas nicolas-grekas merged commit 7b117d3 into symfony:2.7 Jul 25, 2016
nicolas-grekas added a commit that referenced this pull request Jul 25, 2016
This PR was merged into the 2.7 branch.

Discussion
----------

[BrowserKit] Uppercase the "GET" method in redirects

| Q             | A
| ------------- | ---
| Branch?       | 2.7
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #19419
| License       | MIT
| Doc PR        | -

Commits
-------

7b117d3 [BrowserKit] Uppercase the "GET" method in redirects
@stof
Copy link
Member

stof commented Jul 25, 2016

Thank you @jakzal.

@jakzal jakzal deleted the browserkit-method-name branch July 25, 2016 16:07
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.

5 participants