Well, upgrading went very smooth exept for this problem.
I upgraded several sites, some from 1.1, some from 1.41, some from 1.54 ... all to 1.6
In all sites I get this problem where having the chars "å,ä,ö" (Swedish) in the title of the links, gives a lot of HTML characters like "ä" "ö" ...
In regular text there are no issues, only in links.
What can have gone wrong or is it a bug?
Charset problems for links, 1.6
Charset problems for links, 1.6
Last edited by Terabyte on Tue Jul 07, 2009 12:34 am, edited 1 time in total.
Re: Charset problems for links, 1.6
Anyone maybe could give a hint where to start looking for this error?
Re: Charset problems for links, 1.6
Not sure this is the same problem, but if you are using {cms_selflink}-type links, try this thread: http://forum.cmsmadesimple.org/index.php/topic,34935.0.html.
Re: Charset problems for links, 1.6
Thanks. I didn't find it there, but the thread led me to another:
http://forum.cmsmadesimple.org/index.ph ... #msg165925
So it is a bug ... Where should it be reported?
http://forum.cmsmadesimple.org/index.ph ... #msg165925
So commenting out, as suggested by blast2007, that lines 345,361,439 gives me a good result again.blast2007 wrote: I think the main issue of function.cms_selflink.php between 1.5.4 and 1.6 iis that in 1.6 release there's these lines
345361Code: Select all
$label = cms_htmlentities($label);
439Code: Select all
$title = cms_htmlentities($title);
not present in 1.5.4 version.Code: Select all
$linktext = cms_htmlentities($linktext);
All text in selflink is html escaped.
So it is a bug ... Where should it be reported?