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).

AttachmentSizeStatusTest resultOperations
core-legacy-module-fix-redirects.patch1.39 KBIgnored: Check issue status.NoneNone

Comments

#1

Status:needs review» fixed

Committed to 5.x. Legacy module has been removed for 6.x.

#2

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.