Quick Search:

Mode

Context

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

Other Diffs

Ignore

Blank Lines Whitespace:

Diff

714
 
716
 
716
 
update-20060817.txt
_> 1313 Product Attributes SQL Injection
  1414 Resize Images To Round Numbers
  1515 Use The Correct Country Name Value When Formatting Addresses
<>  16+Prevent The Session ID Being Passed In Tell-A-Friend E-Mails
1617 
  1718 ## Update 051113 (13th November 2005)
  1819 
     
 !
282283 
  283284 if ($country == '') $country = tep_output_string_protected($address['country']);
  284285 
<>  286+------------------------------------------------------------------------------
   287+Prevent The Session ID Being Passed In Tell-A-Friend E-Mails
   288+http://www.oscommerce.com/community/bugs,3986
   289+http://svn.oscommerce.com/trac/changeset/715
   290+------------------------------------------------------------------------------
   291+
   292+Problem:
   293+
   294+If the customer has cookies disabled their session ID may exist in the store URL used in tell-a-friend emails.
   295+
   296+Solution:
   297+
   298+The following line must be replaced in catalog/tell_a_friend.php:
   299+
   300+Line 77, from:
   301+
   302+$email_body .= sprintf(TEXT_EMAIL_LINK, tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $HTTP_GET_VARS['products_id'])) . "\n\n" .
   303+
   304+to:
   305+
   306+$email_body .= sprintf(TEXT_EMAIL_LINK, tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $HTTP_GET_VARS['products_id'], 'NONSSL', false)) . "\n\n" .
   307+
<_ 285308 ###########################
  286309 ###### Update 051113 ######
  287310 ###########################