I re-input the value. The bug still hassle. Thank you anyway.
I re-input the value. The bug still hassle. Thank you anyway.
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 &...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 & 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.
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;*/
}
The problem is not just occurring in my custom admin app.
Input boxes, check boxes and text boxes throughout admin are affected.
...or this in init_sanitze.php
PHP Code:
//$sanitizer->setDoStrictSanitization(DO_STRICT_SANITIZATION);
editing the core sanitizer is not a good idea. Creating your own class to add your new fields to a sanitizer group could help you... I did on the fields I created for my site such as products_details.. Documentation can be found here..
I'm in the middle of upgrading a mod that well have to have one created for it too..
Dave
Always forward thinking... Lost my mind!
Thanks Dave.
I know very little about classes or the reason and need for all this sanitizing...I'm sure it is security.
I appreciate the link and will look into it.
Since this is not happening solely in my admin app, I believe it is an issue that the "Team" needs to address.
My dev store is not live (home computer only) and will not be for some time.
I will leave my fix in place until someone can tell me why the entire admin area is affected and what we need to do to fix it.
If it was just happening in my dev app, I'd dig deeper.
I got my extra_configures files set up and working but what do I do with the sanitize_debug output?
Sorry to be so dense but I really am clueless at this point.Apr-26-2020 05:25:31
=================================
Incoming GET Request Array
(
[gID] => 31
[cID] => 555
[action] => save
)
Incoming POST Request Array
(
[securityToken] => 8c370e8059fb1a9b47ea59678c097822
[submitEZ_FEEDS_DEFAULT_CATEGORY] =>
[configuration_value] => Health & Beauty
)
Running Admin Sanitizers
PROCESSING SIMPLE_ALPHANUM_PLUS(GET) == action
PROCESSING SIMPLE_ALPHANUM_PLUS(GET) == cID
PROCESSING SIMPLE_ALPHANUM_PLUS(GET) == gID
PROCESSING STRICT_SANITIZE_VALUES == securityToken
PROCESSING STRICT_SANITIZE_VALUES == submitEZ_FEEDS_DEFAULT_CATEGORY
Outgoing GET Request Array
(
[gID] => 31
[cID] => 555
[action] => save
)
Outgoing POST Request Array
(
[securityToken] => 8c370e8059fb1a9b47ea59678c097822
[submitEZ_FEEDS_DEFAULT_CATEGORY] =>
[configuration_value] => Health & Beauty
)
Apr-26-2020 05:25:31
=================================
Incoming GET Request Array
(
[gID] => 31
[cID] => 555
)
Incoming POST Request Array
(
)
Running Admin Sanitizers
PROCESSING SIMPLE_ALPHANUM_PLUS(GET) == cID
PROCESSING SIMPLE_ALPHANUM_PLUS(GET) == gID
Outgoing GET Request Array
(
[gID] => 31
[cID] => 555
)
Outgoing POST Request Array
(
)
Thanks.
ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...
Bookmarks