Posted by Bart Jansens on October 29, 2007 at 7:43pm
Jump to:
| Project: | Drupal core |
| Version: | 5.x-dev |
| Component: | base system |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
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).
| Attachment | Size | Status | Test result | Operations |
|---|---|---|---|---|
| core-legacy-module-fix-redirects.patch | 1.39 KB | Ignored: Check issue status. | None | None |
Comments
#1
Committed to 5.x. Legacy module has been removed for 6.x.
#2
Automatically closed -- issue fixed for two weeks with no activity.