Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
See
http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.30
Redirect responses should not use relative paths, but well, as it turns out, all browsers and symfony just allows it.
Comments
Comment #1
Crell CreditAttribution: Crell at Palantir.net commentedSigh. Sounds like an upstream to me?
Comment #2
dawehnerWell yeah, but symfony will tell us, that they don't change any behaviour.
Comment #3
Crell CreditAttribution: Crell at Palantir.net commentedWe should at least ask. Spec non-compliance sounds like a bug, and I don't see how fixing it would break anything, except maybe some tests that are spec non-compliant, too. :-)
Comment #4
dawehnerSure, feel free to create an issue :)
Comment #5
Crell CreditAttribution: Crell at Palantir.net commentedWhat's the corresponding section in the new HTTP RFCs? Is it still verbotten, or did it change to allow it since everyone does it?
Comment #12
mr.baileysAccording to HTTP Location on Wikipedia:
RFC7231, appendix B (changes from RFC 2616), page 93:
While I could not find a discussion to alter Symfony's behavior itself, there was this issue for symfony-docs.
Based on the above, moving this to Closed (Works as designed).