Posted by Shannon Lucas on February 25, 2008 at 1:34pm
Jump to:
| Project: | Legacy Path |
| Version: | 5.x-1.0 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Shannon Lucas |
| Status: | closed (fixed) |
Issue Summary
Links to content that exists, but that is not in Drupal can be ignored by the module. An example is the content of the pop-up interface for the Image Assist module. This URL isn't actual Drupal content, but is still valid. The module needs to be able to deal with this properly.
Comments
#1
There are two issues related to this:
1) The menu lookup did not correctly copy the lookup in menu_execute_active_handler() in menu.inc It should have included this snippet of code:
<?phpwhile ($path && !isset($menu['callbacks'][$path])) {
$path = substr($path, 0, strrpos($path, '/'));
}
?>
2) The code to remove the base path from the path will remove all slashes (/) from the path if the base path is '/'.
#2
Addressed in 5.x-1.1 release.
#3
Automatically closed -- issue fixed for two weeks with no activity.