Replace Function sanitizeInput() with just escapeSql() and update all instances throughout

This commit is contained in:
johnnyq
2026-07-14 17:17:50 -04:00
parent 7bc47a58fe
commit b57ddc0e5c
148 changed files with 1945 additions and 1945 deletions

View File

@@ -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);