Some internal links treated as non-existent.

Shannon Lucas - February 25, 2008 - 13:34
Project:Legacy Path
Version:5.x-1.0
Component:Code
Category:bug report
Priority:normal
Assigned:Shannon Lucas
Status:closed
Description

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.

#1

Shannon Lucas - February 25, 2008 - 18:12

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:

<?php
 
while ($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

Shannon Lucas - February 25, 2008 - 21:31
Status:active» fixed

Addressed in 5.x-1.1 release.

#3

Anonymous (not verified) - March 10, 2008 - 21:31
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.