From 9fc1d8487bee1a20550d9666bb5443d0814553a1 Mon Sep 17 00:00:00 2001 From: gnieark Date: Fri, 4 Dec 2015 22:29:31 +0100 Subject: [PATCH] fix --- src/act.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/act.php b/src/act.php index ea6aefa..a28a74b 100644 --- a/src/act.php +++ b/src/act.php @@ -51,7 +51,7 @@ switch($_POST['act']){ '".mysqli_real_escape_string($lnMysql,$_POST['botGame'])."', '".mysqli_real_escape_string($lnMysql,htmlentities($_POST['botURL']))."', '".mysqli_real_escape_string($lnMysql, - preg_replace('#^(http|https|mailto|ftp)://(([a-z0-9\/\.\?-_=#\@:~])*)#i','$1://$2' + preg_replace('#^(http|https|mailto|ftp)://(([a-z0-9\/\.\?-_=\#@:~])*)#i','$1://$2' ,nl2br(htmlentities($_POST['botDescription']))) )."', 'NOW(),