From 50259400b41ea7f8fe7637fb360a1ee023e7c684 Mon Sep 17 00:00:00 2001 From: Junior Date: Sat, 21 Nov 2026 14:36:54 -0500 Subject: [PATCH] Add forward slash to safeFileName() --- functions.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/functions.php b/functions.php index 9d54f38..dea89df 100644 --- a/functions.php +++ b/functions.php @@ -15,8 +15,8 @@ function getAdultComics() { } function safeFileName($file = "") { - $to_remove = array("<", ">", "#", "\"", "/", "\\", "*", "?", "|"); - return str_replace($to_remove, '', $file); + $to_remove = array("<", ">", "#", "\"", "/", "\\", "*", "?", "|", "'"); + return str_replace($to_remove, "", $file); } function makeThumb($item = "") {