8000 [HttpFoundation] Recheck method if httpMethodParameterOverride enabled by dirkluijk · Pull Request #9465 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

[HttpFoundation] Recheck method if httpMethodParameterOverride enabled #9465

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

Closed
wants to merge 2 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed t 8000 o load files.
Loading
Diff view
Diff view
Next Next commit
[HttpFoundation] Changed enableHttpMethodParameterOverride to reset m…
…ethod
  • Loading branch information
Dirk Luijk committed Nov 7, 2013
commit c7f623925922534ec1a8c8235766a7f7ab53cd3e
2 changes: 2 additions & 0 deletions src/Symfony/Component/HttpFoundation/Request.php
Original file line number Diff line number Diff line change
Expand Up @@ -647,6 +647,8 @@ public static function normalizeQueryString($qs)
public static function enableHttpMethodParameterOverride()
{
self::$httpMethodParameterOverride = true;

$this->method = null;
}

/**
Expand Down
0