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.
Legacy module redirects the old style URLs like "node/view/" to "node/" by using drupal_goto as menu callback. But the 4th parameter to drupal_goto was missing causing. Thanks to the evil menu magic, the provided was past as last argument to drupal_goto which results in an internal server error.
for example: http://drupal.org/node/view/148974 - You'll see that it does set the Location: header but instead of sending one of the redirect headers, it sends a 500 internal server error header.
Patch attached which sets the correct HTTP response code (permanent redirect).
Comment | File | Size | Author |
---|---|---|---|
core-legacy-module-fix-redirects.patch | 1.39 KB | Bart Jansens | |
Comments
Comment #1
drummCommitted to 5.x. Legacy module has been removed for 6.x.
Comment #2
(not verified) CreditAttribution: commentedAutomatically closed -- issue fixed for two weeks with no activity.