Project:Terms of Use
Version:6.x-1.10
Component:Code
Category:bug report
Priority:minor
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

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!

Comments

#1

Thanks Moonshine! I will fix this.

:)

#2

Status:active» needs review

Here's the patch for 1.10

AttachmentSize
421346.patch 620 bytes

#3

Status:needs review» reviewed & tested by the community

Very simple patch, works as advertised and badly needed in case you have something that check_plain converts to an entity in the link label, otherwise the double escaping makes the entity visible (such as ' which is in the default fr.po) .

Thanks @roychri

#4

Status:reviewed & tested by the community» fixed

#421346 by roychri | Chill35: Fixed Double encoding on @link.

#5

Status:fixed» closed (fixed)

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