-
Notifications
You must be signed in to change notification settings - Fork 15
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
loss of all get/post data on redirect #19
Comments
keep in mind, that for a http status code of |
Fixed: #23 |
would be nice to have this PR, works for me |
This was also an issue on our project, we fixed this in a very similar way as the pr of @erguenyogurtcu does. Would be nice to have this integrated into an update, as this extension is the only somewhat up-to-date language redirect solution for typo3. |
@urbantrout ping |
thanks for the merge, @urbantrout . |
Thanks for the PR @erguenyogurtcu. |
the issue:
The current code does the redirect with a status code of
302
.this in general means that the client will do a redirect by forgetting about the original request but look at the newly given location. usually the request method will be changed from whatever it was to GET and the previously sent data will be forgotten.
The solution would be to change the behavior: don't use
302
status code, but use307
instead.benefits of behavior change:
since this is a behavior change, i suggest:
302
302
to307
The text was updated successfully, but these errors were encountered: