Forums / Bug Reports / [Done v1.3.9d] 1.3.9c adds backslash when going back from product preview

[Done v1.3.9d] 1.3.9c adds backslash when going back from product preview

Locked

Views: 975

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
1 Jun 2010, 12:58 AM
#1
ssmith_cp avatar

ssmith_cp

New Zenner

Join Date:
Apr 2010
Posts:
20
Plugin Contributions:
0

[Done v1.3.9d] 1.3.9c adds backslash when going back from product preview

Hey ZC crew,

I am having a problem that seems to be specific to 1.3.9c. I also have a 1.3.9b installed and the problem doesn't seen to happen with I use this version.

To reproduce this problem:

  1. Create a new product in the admin panel
  2. Enter a product name with an apostrophe like "Mike's Bike"
  3. Press the "Preview" button
  4. On the preview page, press the "Back" button
  5. Notice the product name has (incorrectly?) changed to "Mike's Bike"

Is anyone else experiencing this? I think I might replace the changed function to the 1.3.9b version to change this, but I imagine it was changed for some security reason... would this be okay?

Thanks,
scott

1 Jun 2010, 1:52 AM
#2
drbyte avatar

drbyte

Sensei

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

Re: [Done v1.3.9d] 1.3.9c adds backslash when going back from product preview

You could use the v1.3.9a versions of these files instead:
/admin/includes/modules/document_general/collect_info.php
/admin/includes/modules/document_product/collect_info.php
/admin/includes/modules/product/collect_info.php
/admin/includes/modules/product_free_shipping/collect_info.php
/admin/includes/modules/product_music/collect_info.php

It'll be fixed in v1.3.9d.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.