Hello,
I've noticed that when you set
$sugar_config['disable_count_query'] = true;
and try to go to the last page of a listview (clicking "End", not "Next") you get the "Bad data passed in; Return to Home" error. This is because the offset parameter of GET has the value "end", instead of the expected number.
I've made this go away by changing the input validation regular expression in include/utils.php, line 1578:
if (str_end($key, "_offset")) {
clean_string($_GET[$key], "STANDARD");
}
Cheers,
diogo


LinkBack URL
About LinkBacks



Reply With Quote
Bookmarks