From 7c6335fb470a2e1f45d9feba4078ad25d0b0585e Mon Sep 17 00:00:00 2001 From: gnuboard Date: Mon, 18 Nov 2013 13:34:24 +0900 Subject: [PATCH] =?UTF-8?q?preg=5Freplace=20=EC=97=90=20/u=20-=20unicode?= =?UTF-8?q?=20safe=20=EC=A0=81=EC=9A=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bbs/search.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bbs/search.php b/bbs/search.php index ae1a6d8fb..97662e56a 100644 --- a/bbs/search.php +++ b/bbs/search.php @@ -11,7 +11,7 @@ $text_stx = ""; $srows = 0; $stx = strip_tags($stx); -$stx = preg_replace('/[[:punct:]]/', '', $stx); // 특수문자 제거 +$stx = preg_replace('/[[:punct:]]/u', '', $stx); // 특수문자 제거 if ($stx) { $stx = preg_replace('/\//', '\/', trim($stx)); $sop = strtolower($sop);