You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ http GET http://myhost/foo --headers
HTTP/1.1 301 Moved Permanently
$ http GET http://myhost/foo2 --headers
HTTP/1.1 301 Moved Permanently
$ http POST http://myhost/foo3 --headers
HTTP/1.1 404 Not Found
I'm aware of the potential issues with redirecting POST requests, but up to symfony 2.8.34 all three examples where redirected to the expected scheme. In fact this was caught by a controller test expecting a 301.
I'm using HTTPie for the examples here, but using curl leads to the same results.
The text was updated successfully, but these errors were encountered:
jschoe
changed the title
[Routing] Redirecting POST Requests to the correct scheme seems to be broken
[Routing] Redirecting POST requests to the correct scheme seems to be broken
Mar 5, 2018
Redirecting to the correct scheme seems to be broken for POST requests. Possibly related to either
#26312 or #26100
This routing.yml example
leads to:
I'm aware of the potential issues with redirecting POST requests, but up to symfony 2.8.34 all three examples where redirected to the expected scheme. In fact this was caught by a controller test expecting a 301.
I'm using HTTPie for the examples here, but using curl leads to the same results.
The text was updated successfully, but these errors were encountered: