bugphpGroupWare - Bugs: bug #14405, htmlentities and i18n in...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #14405: htmlentities and i18n in addressbook

Submitted by:  Kent Tong <freemant>
Submitted on:  Mon 05 Sep 2005 03:37:48 AM UTC  
 
Item Group: 0.9.16.008Category: addressbook
Severity: 3 - NormalPriority: 5 - Normal
Status: NonePrivacy: Public
Assigned to: Jonathan Rivera <jarg>Open/Closed: Open
Component Version: DEBOperating System: GNU/Linux - Debian
Reproducibility: Every TimePlanned Release: None
Fixed Release: 

Mon 12 Nov 2007 08:40:21 AM UTC, comment #3:

The bug is still there in 0.9.16.011-2.2. If you don't want to change to htmlspecialchars(), specify the correct charset to htmlentities(). For exmaple, I fixed the problem by replacing the calls to htmlentities() with :

htmlentities($s, ENT_COMPAT, "BIG5");

Does it make sense to you? Thanks!

Kent Tong <freemant>
Wed 07 Sep 2005 01:17:53 PM UTC, comment #2:

ok the fix seems valid

Regards,

Caeies

Caeies <Caeies>
Project Administrator
Wed 07 Sep 2005 12:56:16 PM UTC, comment #1:

Hi,

I'm not sure that the solution is the same ... for example in french Charset you get 'é' which should be escaped by htmlentities, but not by htmlspecialchars. Reading the php.net docs, it seems that BIG5 is supported by htmlentities ... So the problem is perhaps elsewhere ...

regards,

Caeies

Caeies <Caeies>
Project Administrator
Mon 05 Sep 2005 03:37:48 AM UTC, original submission:

This is the same bug as bug #4148. It is occuring in
the class.uiaddressbook.inc.php file. Please apply the
same solution provided in bug #4148.

Kent Tong <freemant>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by freemant (Posted a comment)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follows 1 latest change.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 07 Sep 2005 01:17:53 PM UTCCaeiesAssigned toNone=>jarg

    Back to the top


    Powered by Savane 3.1-cleanup1