Double encoding on @link

Moonshine - April 2, 2009 - 05:03
Project:Terms of Use
Version:6.x-1.10
Component:Code
Category:bug report
Priority:minor
Assigned:Unassigned
Status:needs review
Description

Howdy...

Just a heads up that l() actually does a check_plain() on its own for link text. So when the title is encoded before sending it in you end up with some funky encoding for things like "Terms & Conditions" where the ampersand is double encoded.

Thanks!

#1

Chill35 - April 4, 2009 - 16:50

Thanks Moonshine! I will fix this.

:)

#2

roychri - May 28, 2009 - 17:17
Status:active» needs review

Here's the patch for 1.10

AttachmentSize
421346.patch 620 bytes
 
 

Drupal is a registered trademark of Dries Buytaert.