Joomla! Discussion Forums



It is currently Thu Nov 26, 2009 1:22 am (All times are UTC )

 





Post new topic Reply to topic  [ 2 posts ] 
Author Message
Posted: Fri Feb 01, 2008 8:04 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Fri Feb 01, 2008 5:22 pm
Posts: 29
File Path: \administrator\components\com_config\admin.config.php

Description: htmlspecialchars() is used with no encoding options, It makes showing of Site Name (eg. in IE or Firefox Title) obscured.

Solution (Just get the encoding from language file and add it to htmlspecialchars() ):

Code:
Before:

htmlspecialchars( $row->config_sitename, ENT_QUOTES);

After:

  $iso = split( '=', _ISO );
  $row->config_sitename     = htmlspecialchars( $row->config_sitename, ENT_QUOTES, $iso[1]);


Top
  E-mail  
 
Posted: Fri Feb 01, 2008 8:32 pm 
User avatar
Joomla! Master
Joomla! Master
Offline

Joined: Thu Aug 18, 2005 7:13 am
Posts: 13255
Moving to 1.0 Q&T forum.

_________________
Antonie de Wilde - Forum admin
All Joomla! release dates and days between releases: http://jfoobar.org/blog/189-days-betwee ... a-releases.test


Top
   
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

Quick reply

 



Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group