summaryrefslogtreecommitdiff
path: root/mod.php
diff options
context:
space:
mode:
authorczaks <marcin@6irc.net>2013-08-04 22:49:38 -0400
committerMichael Foster <savetheinternet@tinyboard.org>2013-08-05 04:51:56 -0400
commit5bebceb96b30378d15f053c2487a58a892c96f38 (patch)
treec8368e23a63b1c9e148355b16c30e8e681a534b5 /mod.php
parent67daf109f2b10846230115a92ddd964af14299e0 (diff)
fix for boards containing + character; they were previously unaccessible in mod panel
Diffstat (limited to 'mod.php')
-rw-r--r--mod.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod.php b/mod.php
index a01a0297..be66db78 100644
--- a/mod.php
+++ b/mod.php
@@ -18,7 +18,7 @@ if (get_magic_quotes_gpc()) {
$_POST = strip_array($_POST);
}
-$query = isset($_SERVER['QUERY_STRING']) ? urldecode($_SERVER['QUERY_STRING']) : '';
+$query = isset($_SERVER['QUERY_STRING']) ? rawurldecode($_SERVER['QUERY_STRING']) : '';
$pages = array(
'' => ':?/', // redirect to dashboard