mirror of
https://github.com/itflow-org/itflow
synced 2026-07-24 09:20:40 +00:00
Replace Function sanitizeInput() with just escapeSql() and update all instances throughout
This commit is contained in:
@@ -13,7 +13,7 @@ $page_title = str_replace('_', ' ', $page_title);
|
||||
$page_title = ucwords($page_title);
|
||||
|
||||
// Sanitize title for SQL input such as logging
|
||||
$page_title_sanitized = sanitizeInput($page_title);
|
||||
$page_title_sanitized = escapeSql($page_title);
|
||||
|
||||
// Sanitize the page title to prevent XSS for output
|
||||
$page_title = escapeHtml($page_title);
|
||||
|
||||
Reference in New Issue
Block a user