Skip to content
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

[5.5] Fix unsetting http query parameters when fetching request by HEAD #24076

Merged
merged 2 commits into from
May 2, 2018

Conversation

lynnlin827
Copy link

When I used $request->offsetUnset() to remove query parameters from request, http method GET succeed but HEAD failed. It was because that HEAD was trying to remove parameters from $_POST instead of $_GET.

Add a test case for the modification and fix some coding styles.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants