Page 12 of 23 FirstFirst ... 2101112131422 ... LastLast
Results 111 to 120 of 225
  1. #111
    Join Date
    Jul 2010
    Posts
    5
    Plugin Contributions
    0

    Default Re: HTML tags show after upgrade to 1.3.9g

    Quote Originally Posted by Ajeh View Post
    Try using for the extra_white_list.php file:
    /admin/includes/extra_configures/extra_white_list.php

    and put into that file the code:
    Code:
    <?php
    $global_xss_whitelist = isset($global_xss_whitelist) ? $global_xss_whitelist : array();
    $my_whitelist  = array('file_contents', 'banners_html_text', 'pages_title', 'message_html');
    $global_xss_whitelist = array_merge($my_whitelist, $global_xss_whitelist);
    and then try to edit the Define Page or Banner HTML or EZPage Title or Send Email once more and save it to see if this displays correctly ...

    NOTE: the file
    /admin/includes/extra_configures/extra_white_list.php

    is a file that you create for this code ...
    Please, please help me to understand...Stop talking greek, please..

    Now if I take this right...
    The reason my defines pages are talking html crap all over it, has to do with some coding problem that got messed up in this 1.39g upgrade.

    So if I want to fix the problem until someone figures we should have a 1.39h upgrade, then I need to what?

    Make a folder?
    Then insert this code into the folder?
    Then upload this folder to my ....
    admin/includes/extra_configures/....???????
    And give it the name:::: extra_white_list.php ?????

    Just pretend I have a box of rocks for a brain, so I need more detail please.

    And why doesn't someone just create this file and fix the problem? Okay, I am a box of rocks....

  2. #112
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: HTML tags show after upgrade to 1.3.9g

    The current release v1.3.9g was just released with the added Protection and, unfortunately, is too good ... so there is the need for the "white list" at this time ...

    This will all be addressed in the next release ...


    It takes two seconds to open a blank file and save it as:
    /admin/includes/extra_configures/extra_white_list.php

    You already have the directory:
    /admin/includes/extra_configures/

    You want to make a file called:
    extra_white_list.php

    and load it to the directory:
    /admin/includes/extra_configures/

    and in that file copy and paste the code posted in thread #52 ...

    What this code is doing is excluding certain parts of the code from the extra protection that has been added in v1.3.9g from being applied to certain areas of the Admin so that when you edit the data and enter the HTML code it is not getting this extra protection as it also is protecting you against HTML code that you need to enter in some areas of the Admin ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  3. #113
    Join Date
    Jul 2010
    Posts
    5
    Plugin Contributions
    0

    Default Re: HTML tags show after upgrade to 1.3.9g

    Quote Originally Posted by Ajeh View Post
    The current release v1.3.9g was just released with the added Protection and, unfortunately, is too good ... so there is the need for the "white list" at this time ...

    This will all be addressed in the next release ...


    It takes two seconds to open a blank file and save it as:
    /admin/includes/extra_configures/extra_white_list.php

    You already have the directory:
    /admin/includes/extra_configures/

    You want to make a file called:
    extra_white_list.php

    and load it to the directory:
    /admin/includes/extra_configures/

    and in that file copy and paste the code posted in thread #52 ...

    What this code is doing is excluding certain parts of the code from the extra protection that has been added in v1.3.9g from being applied to certain areas of the Admin so that when you edit the data and enter the HTML code it is not getting this extra protection as it also is protecting you against HTML code that you need to enter in some areas of the Admin ...
    I thank you very kindly for your straight forward instructions..
    This did the trick, so I shall apply it to my second store also..

  4. #114
    Join Date
    Sep 2008
    Location
    Sweden
    Posts
    94
    Plugin Contributions
    4

    Default Re: HTML tags show after upgrade to 1.3.9g

    I tried to find info about install sql patches.

    for me it change " to &quot; sp the array was not working.

  5. #115
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: HTML tags show after upgrade to 1.3.9g

    Could you give an example of what you are having a problem with?
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  6. #116
    Join Date
    Oct 2010
    Posts
    1
    Plugin Contributions
    0

    Default Re: HTML tags show after upgrade to 1.3.9g

    Did anyone not try the new version before making it available to the public because I have 2 broken websites that I will gladly let you practice on next time? Also why did you change the name of the admin folder?

    I assume your going to say for security reasons BUT don't you think if a person is smart enough to hack a website they probably have downloaded zen cart to figure out how to hack it. Which would mean they would already know the name of the "secret admin folder" any way.
    A month from now their will probably be a big yellow warning saying change your admin name to something other than zc_admin.

    It just makes me mad that every other week their is a so called "critical update" that needs to be done and if it's not done their is all this garbage in my admin that won't go away, telling me how I need this important update, and then we do the update and it breaks our site.

    Then I read one of the admin talking about not wanting a billion patches, but it's sure ok for us to have a billion updates every week. If it wasn't such a pain to do the updates that would probably help too.

  7. #117
    Join Date
    Nov 2007
    Location
    Sunny Coast, Australia
    Posts
    3,378
    Plugin Contributions
    9

    Default Re: HTML tags show after upgrade to 1.3.9g

    Installed the Rewards Points mod today, first on my local store and then on the live site. This mod requires the installation of the included new.sql patch which adds extra boxes to Admin > Configuration.

    Part of this sql is shown here:
    .....

    REPLACE INTO `configuration`
    (`configuration_id` ,`configuration_title` ,`configuration_key` ,`configuration_value` ,`configuration_description` ,`configuration_group_id` ,`sort_order` ,`last_modified` ,`date_added` ,`use_function` ,`set_function`)
    VALUES (NULL , 'Reward Point Status Track', 'REWARD_POINTS_STATUS_TRACK', '', '<b>Simple mode:</b> All new reward points are set to Pending and are changed to Earned when the Order Status changes. If the Order Status is then changed back to Pending then the reward points are transferred back from Earned.<br /><br /><b>Advanced mode:</b> Set the order status ....etc etc
    The highlighted html tags are all showing just as in the quote above, no breaks are inserted into the text and no bold items show up.

    Manually fixed this on my local site by editing relevant DB entries. In the DB the brackets were showing as &lt; or &gt;

    The extra_white_list.php file is installed, it fixed the EZ Pages issue as expected but has not addressed this issue.

    I know this is only of a 'cosmetic' nature and does not affect the operation of the store but is worth noting for the next upgrade.

  8. #118
    Join Date
    Jan 2004
    Posts
    66,419
    Blog Entries
    7
    Plugin Contributions
    277

    Default Re: HTML tags show after upgrade to 1.3.9g

    Quote Originally Posted by jasong42122 View Post
    ... but it's sure ok for us to have a billion updates every week.
    You must be referring to some other software. I've never seen Zen Cart release a billion updates. Ever.
    Come to think of it we don't even have that many lines of code in Zen Cart yet.
    But, thanks for cluttering our forum with your rant. I hope you feel better after you got that off your chest.
    .

    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.

  9. #119
    Join Date
    Jan 2004
    Posts
    66,419
    Blog Entries
    7
    Plugin Contributions
    277

    Default Re: HTML tags show after upgrade to 1.3.9g

    frank, it's noted.
    .

    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.

  10. #120
    Join Date
    Nov 2007
    Location
    Sunny Coast, Australia
    Posts
    3,378
    Plugin Contributions
    9

    Default Re: HTML tags show after upgrade to 1.3.9g

    Quote Originally Posted by DrByte View Post
    frank, it's noted.
    Thanks DrByte

 

 
Page 12 of 23 FirstFirst ... 2101112131422 ... LastLast

Similar Threads

  1. Replies: 25
    Last Post: 15 May 2010, 06:20 AM
  2. Replies: 11
    Last Post: 23 Nov 2009, 02:57 AM
  3. Replies: 5
    Last Post: 22 Jan 2009, 10:23 AM
  4. Replies: 4
    Last Post: 7 Jul 2008, 12:04 AM
  5. No HTML Editor after 1.3.6 upgrade
    By KADesign in forum Upgrading from 1.3.x to 1.3.9
    Replies: 13
    Last Post: 8 Nov 2006, 04:24 PM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR