Page 1 of 2 12 LastLast
Results 1 to 10 of 24

Hybrid View

  1. #1
    Join Date
    Jun 2011
    Posts
    6
    Plugin Contributions
    0

    Default Re: Problems with special characters in the newest Zen Cart version

    Thanks again, we'll just wait for the fix then. Have a great evening

  2. #2
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Problems with special characters

    Should be resolved by updating these files: https://www.zen-cart.com/showthread....33#post1312333
    .

    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.

  3. #3
    Join Date
    Jun 2012
    Posts
    68
    Plugin Contributions
    2

    Default Re: Problems with special characters

    Quote Originally Posted by DrByte View Post
    Should be resolved by updating these files: https://www.zen-cart.com/showthread....33#post1312333
    The problem is still there even after I replaced those 3 files. Any suggestion?
    Thank you.

  4. #4
    Join Date
    Jul 2012
    Posts
    16,816
    Plugin Contributions
    17

    Default Re: Problems with special characters

    Quote Originally Posted by scott_ease View Post
    The problem is still there even after I replaced those 3 files. Any suggestion?
    Thank you.
    You say the problem is still there. Please identify how it is possible to reproduce the issue now that the patched files have been installed?
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  5. #5
    Join Date
    Jun 2012
    Posts
    68
    Plugin Contributions
    2

    Default Re: Problems with special characters

    v155a under construction: http://angelcorp.net/test/index.php?...products_id=88
    The 4th line from above, next to 'Model:' shows '&amp;nbsp;'

    v150 live site: http://angelcorp.net/infant-formula/...products_id=88
    The 4th line from above, next to 'Model:' follows a space.

    The admin backend input are identical (&nbsp;). Same database actually (upgraded with v155a).
    Thank you.

  6. #6
    Join Date
    Jul 2012
    Posts
    16,816
    Plugin Contributions
    17

    Default Re: Problems with special characters

    Quote Originally Posted by scott_ease View Post
    v155a under construction: http://angelcorp.net/test/index.php?...products_id=88
    The 4th line from above, next to 'Model:' shows '&amp;nbsp;'

    v150 live site: http://angelcorp.net/infant-formula/...products_id=88
    The 4th line from above, next to 'Model:' follows a space.

    The admin backend input are identical (&nbsp;). Same database actually (upgraded with v155a).
    Thank you.
    In your development site, if you manually update the record, does the &nbsp; stay as it should or does it change still?
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  7. #7
    Join Date
    Jun 2012
    Posts
    68
    Plugin Contributions
    2

    Default Re: Problems with special characters

    I re-input the value. The bug still hassle. Thank you anyway.

  8. #8
    Join Date
    Sep 2012
    Location
    West Jefferson, NC
    Posts
    391
    Plugin Contributions
    0

    Default Re: Problems with special characters

    Quote Originally Posted by DrByte View Post
    Should be resolved by updating these files: https://www.zen-cart.com/showthread....33#post1312333
    Will these files work in 1.5.6c? It looks like they are only good through 1.5.5f.

    I am getting the conversion of & to &amp;...running on XAMPP v3.2.4, PHP 7.3.15, most recent version of windows 10 64 bit.

    I don't have a live site to show you at this time so I'll give you as much as I can to narrow down the issue.

    My custom admin template is based on the Zencart admin/Configuration page.

    A sub page of this is my backup program and one of it's options is to select which category to back up.

    There are radio button selects in the right hand box for each top level category in my catalog...Health & Beauty being one of them.

    When I select Health & Beauty, it returns Health &amp; Beauty in the value column and screws up my script for backing up this category.

    Yes, I can rename it to Health Beauty but prefer Health & Beauty.

    I tried using html_decode in my script but the rest of the script failed even though the html_decode did change the category name correctly.

    Thanks for your help.

  9. #9
    Join Date
    Sep 2012
    Location
    West Jefferson, NC
    Posts
    391
    Plugin Contributions
    0

    Default Re: Problems with special characters

    Commenting this out in AdminRequestSanitizer.php makes the problem go away but I don't fully understand the impact of leaving this commented out.

    PHP Code:
        public function setDoStrictSanitization($doStrictSanitize)
        {
            
    /*$this->doStrictSanitization = $doStrictSanitize;*/
        


  10. #10
    Join Date
    Sep 2012
    Location
    West Jefferson, NC
    Posts
    391
    Plugin Contributions
    0

    Default Re: Problems with special characters

    ...or this in init_sanitze.php

    PHP Code:
    //$sanitizer->setDoStrictSanitization(DO_STRICT_SANITIZATION); 

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Replies: 2
    Last Post: 28 Jul 2011, 09:23 PM
  2. Share on Facebook - problem with special characters?
    By Kicki in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 21 Nov 2010, 05:53 PM
  3. Special characters messed up in ZC Admin
    By magicpants in forum Installing on a Linux/Unix Server
    Replies: 47
    Last Post: 12 Jun 2010, 10:19 AM
  4. Special characters problems in newsletters editor
    By hhmoeller in forum General Questions
    Replies: 0
    Last Post: 16 Apr 2009, 12:53 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg