summaryrefslogtreecommitdiff
path: root/post.php
diff options
context:
space:
mode:
authorfallenPineapple <fallenPineapple87@gmail.com>2013-08-11 06:29:30 -0400
committerfallenPineapple <fallenPineapple87@gmail.com>2013-08-11 06:29:30 -0400
commita4e97c32ec9d413ea2c77fab61a46c5e6c2cb2d7 (patch)
tree49e696b2cf07c4e49fcc1baeb4ef112e7e5cd668 /post.php
parent12ee85beafcb545fcb3a71eb1ad9cf90c329df33 (diff)
noko50 reply fix
Diffstat (limited to 'post.php')
-rw-r--r--post.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/post.php b/post.php
index a6997f45..77c03439 100644
--- a/post.php
+++ b/post.php
@@ -170,7 +170,7 @@ if (isset($_POST['delete'])) {
error($config['error']['bot']);
// Check the referrer
- if (!isset($_SERVER['HTTP_REFERER']) || !preg_match($config['referer_match'], urldecode($_SERVER['HTTP_REFERER'])))
+ if (!isset($_SERVER['HTTP_REFERER']) || !preg_match($config['referer_match'], rawurldecode($_SERVER['HTTP_REFERER'])))
error($config['error']['referer']);
checkDNSBL();