In admin/includes/init_includes/init_general_funcs.php there is this at the bottom of the page:
Code:
if (isset($_GET) & sizeof($_GET) > 0 ) {
foreach ($_GET as $key=>$value) {
$_GET[$key] = strip_tags($value);
}
}
and if you change the one line to
Code:
// $_GET[$key] = strip_tags($value);
then super_batch_forms.php will work when using the less than function for the order total. BUT this is not recommended at all
The strip_tags code is in Zen Cart as a security measure to stop XSS attacks. Super orders needs re-coding because it submits <= to the page and Zen Cart strips it out because the strip_tags function thinks it is a HTML tag. Super orders is full of SQL Insertion security holes and possible XSS attacks and the Zen cart code is there to try and stop them. At the moment the only solution to the bug is to open up more security holes in your system although if the admin folder has been moved as recommended in the general security guidelines, it's not a really big hole.
Philip.
Bookmarks