From b1526dfb0dcd425ad8f950c1a9a18186affd467b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=83=86=E3=82=AF=E3=83=8B=E3=82=AB=E3=83=AB=E8=AB=8F?= =?UTF-8?q?=E8=A8=AA=E5=AD=90?= Date: Thu, 25 Aug 2022 19:09:00 +0900 Subject: [PATCH] =?UTF-8?q?=E3=82=BB=E3=82=AD=E3=83=A5=E3=83=AA=E3=83=86?= =?UTF-8?q?=E3=82=A3=E3=81=AE=E7=82=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tool/crawler.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tool/crawler.php b/tool/crawler.php index b8b86cb..0b565a3 100644 --- a/tool/crawler.php +++ b/tool/crawler.php @@ -74,7 +74,7 @@ } foreach ($res as $k => $v) { - $rurl = $v['url']; + $rurl = mysqli_real_escape_string($mysqli, $v['url']); $rpid = null; if ($site = mysqli_prepare($mysqli, "SELECT id FROM website_page WHERE url = ?")) {