Path alias changes default path inside document

ints - February 20, 2008 - 07:39
Project:Path
Component:Code
Category:bug report
Priority:critical
Assigned:Unassigned
Status:active
Description

If I use inside user content relative URL adresses, they start drom drupal/node...

I.e., <a href="2">link to node/2 item</a> is working well...

If the page containing that will have an alias, Drupal is handling relative patches starting from root, i.e., to have working code, you need:

I.e., <a href="node/2">link to node/2 item</a> is working well...

But, if the same page is put to the RSS feed content or to the front page, the 1st relative path is still estimated...

Althrough I liked to have relative paths handled from document root too, it seems that to many drupal core modules are estimating relative path is starting from /node .... Could you fix it also in path module, or ask fix the other modules as well?? ;)

Wbr,
Indrek

#1

ints - February 28, 2008 - 21:46

Also, possibliy connected to that, there is impossible to log in from "default" page.

I use installation not in root, but mydomain.com/drupal/....

Also, Printer friendly module displays links having alias defined in format adding wrong "../" into the path.

 
 

Drupal is a registered trademark of Dries Buytaert.