mirror of
https://github.com/itflow-org/itflow
synced 2026-03-17 11:14:50 +00:00
Added comment in pagination_head.php regarding issue #673
This commit is contained in:
@@ -50,11 +50,9 @@ if (isset($_GET['q'])) {
|
|||||||
|
|
||||||
// Sortby
|
// Sortby
|
||||||
if (!empty($_GET['sb'])) {
|
if (!empty($_GET['sb'])) {
|
||||||
$sb = sanitizeInput(preg_replace('/[^a-z_]/', '', $_GET['sb']));
|
$sb = sanitizeInput(preg_replace('/[^a-z_]/', '', $_GET['sb'])); // JQ 2023-05-09 - See issue #673 on GitHub to see the reasoning why we used preg_replace technically sanitizeInput() should have been enough to escape SQL Commands
|
||||||
}
|
}
|
||||||
|
|
||||||
//$sb = $_GET['sb'];
|
|
||||||
|
|
||||||
// Date Handling
|
// Date Handling
|
||||||
if (empty($_GET['canned_date'])) {
|
if (empty($_GET['canned_date'])) {
|
||||||
//Prevents lots of undefined variable errors.
|
//Prevents lots of undefined variable errors.
|
||||||
|
|||||||
Reference in New Issue
Block a user