Two bugs in link handling

killes@www.drop.org - July 2, 2008 - 12:11
Project:TrailScout
Version:5.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:killes@www.drop.org
Status:reviewed & tested by the community
Description

This patch fixes two bugs:

1) use the path alias for links

2) revert encoding in titles retrieved from drupal_get_title. If you don't do that, then the additional check_plain in l() will lead to double encoding giving you ugly entities on screen.

#1

killes@www.drop.org - July 2, 2008 - 12:21

and here's the patch...

AttachmentSize
trailscout.patch 871 bytes

#2

christefano - July 18, 2008 - 21:31
Status:needs review» reviewed & tested by the community

Looks good. Thanks, killes!

 
 

Drupal is a registered trademark of Dries Buytaert.