Zen Cart Logo
Forums / Bug Reports / [NOT A BUG] customers.php - difference between 1.39b and bugfixed 138a

[NOT A BUG] customers.php - difference between 1.39b and bugfixed 138a

Locked

Views: 945

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
8 May 2010, 6:03 PM
#1
torvista avatar

torvista

Totally Zenned

Join Date:
Aug 2007
Location:
Gijón, Asturias, Spain
Posts:
2,873
Plugin Contributions:
7

[NOT A BUG] customers.php - difference between 1.39b and bugfixed 138a

Hi,
this announcement
http://www.zen-cart.com/forum/showthread.php?p=813183#post813183
details a bugfix for XSS protection.

One of the files is admin/customers.php and the fix for 138a is:

 default:
      if (isset($cInfo) && is_object($cInfo)) {
        if (isset($_GET['search'])) $_GET['search'] = zen_output_string_protected($_GET['search']);
        $customers_orders = $db->Execute("select o.orders_id, o.date_purchased, o.order_total, o.currency, o.currency_value,

in 1.39b I find:

default:
      if (isset($_GET['search'])) $_GET['search'] = zen_output_string_protected($_GET['search']);
      if (isset($cInfo) && is_object($cInfo)) {
        $customers_orders = $db->Execute("select o.orders_id, o.date_purchased, o.order_total, o.currency, o.currency_value,

does this matter?

Steve

8 May 2010, 6:32 PM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: [NOT A BUG] customers.php - difference between 1.39b and bugfixed 138a

Trivial.

Use the 1.3.9 version.