From 455e59591fb1f75030ddf195017cf017f2cc8460 Mon Sep 17 00:00:00 2001 From: wibyweb <49052850+wibyweb@users.noreply.github.com> Date: Sun, 5 Feb 2023 22:35:05 -0500 Subject: [PATCH] Update insert.php --- html/insert/insert.php | 1 + 1 file changed, 1 insertion(+) diff --git a/html/insert/insert.php b/html/insert/insert.php index 8033dbe..0db3542 100755 --- a/html/insert/insert.php +++ b/html/insert/insert.php @@ -42,6 +42,7 @@ } $url = mysqli_real_escape_string($link, $_POST['url']); + $url = str_replace("''", "%27", $url); // $url = str_replace("\'", "\'\'", $_POST['url']); // $url = str_replace("\"", "\"\"", $url); $title = mysqli_real_escape_string($link, $_POST['title']);