Quick Search:

Mode

Context

Displaying 3 lines of context. None | Less | More | Full

Other Diffs

Ignore

Blank Lines Whitespace:

Diff

711
 
714
 
714
 
update-20060817.txt
_> 1212 PHP 3 Session ID XSS Issue
  1313 Product Attributes SQL Injection
  1414 Resize Images To Round Numbers
<>  15+Use The Correct Country Name Value When Formatting Addresses
1516 
  1617 ## Update 051113 (13th November 2005)
  1718 
     
 !
253254 
  254255 $height = intval($image_size[1] * $ratio);
  255256 
<>  257+------------------------------------------------------------------------------
   258+Use The Correct Country Name Value When Formatting Addresses
   259+http://www.oscommerce.com/community/bugs,1291
   260+http://svn.oscommerce.com/trac/changeset/713
   261+------------------------------------------------------------------------------
   262+
   263+Problem:
   264+
   265+Depending on the values passed to tep_address_format(), an array value could be used as the country name instead of a string value.
   266+
   267+Solution:
   268+
   269+The following line must be replaced in catalog/includes/functions/general.php:
   270+
   271+Line 453, from:
   272+
   273+$country = tep_output_string_protected($address['country']);
   274+
   275+to:
   276+
   277+$country = tep_output_string_protected($address['country']['title']);
   278+
   279+The following line must be removed:
   280+
   281+Line 483:
   282+
   283+if ($country == '') $country = tep_output_string_protected($address['country']);
   284+
<_ 256285 ###########################
  257286 ###### Update 051113 ######
  258287 ###########################