Bad links generated when using section/name style paths

tatien - July 12, 2007 - 22:36
Project:Universal Link Filter
Version:5.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

I had a problem when wanting to add ulinks in a page with the following path: main/test_ulink. The generated links were such as ....

I found out the reason was that in the ulink_helper.inc file, if the node is found, a link was constructed instead of calling the (safe) l() function. Here is a patch that fixes it.

AttachmentSize
ulink_helper.inc-link-fix.patch.txt742 bytes

#1

garthee - July 13, 2007 - 16:58
Status:needs review» fixed

Actually that was corrected sometime back, but was not committed,

thanks for pointing out that.. and now updated..

#2

Anonymous - July 27, 2007 - 17:25
Status:fixed» closed
 
 

Drupal is a registered trademark of Dries Buytaert.