Joomla 1.0.13 small administration bug and its solution

Confirmed bugs that have been Fixed - Joomla 1.0.x



[New Threads cannot be started in this forum]
Locked
theone2003a
Joomla! Apprentice
Joomla! Apprentice
Posts: 29
Joined: Fri Feb 01, 2008 5:22 pm

Joomla 1.0.13 small administration bug and its solution

Post by theone2003a » Fri Feb 01, 2008 8:04 pm

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: Select all

Before:

htmlspecialchars( $row->config_sitename, ENT_QUOTES);

After:

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

User avatar
Tonie
Joomla! Master
Joomla! Master
Posts: 16553
Joined: Thu Aug 18, 2005 7:13 am

Re: Joomla 1.0.13 small administration bug and its solution

Post by Tonie » Fri Feb 01, 2008 8:32 pm

Moving to 1.0 Q&T forum.


Locked

Return to “Q&T 1.0.x Resolved”