X-Git-Url: http://git.shiar.nl/minimedit.git/blobdiff_plain/217f7dc706236f1edbff198893b54f3518742879..HEAD:/article.inc.php diff --git a/article.inc.php b/article.inc.php index 8e121d3..093852f 100644 --- a/article.inc.php +++ b/article.inc.php @@ -48,7 +48,7 @@ class ArchiveArticle $this->path = ''; $this->restricted = FALSE; while (TRUE) { - if (file_exists("$path/.private")) { + if (file_exists("$path/.private") and !$this->restricted) { $this->restricted = $path; } @@ -187,7 +187,7 @@ class ArchiveArticle else { foreach (explode(' ', $params) as $param) { if ($set = strpos($param, '=')) { - $Page->place[ substr($param, 0, $set) ] = substr($param, $set + 1); + $Page->place[ substr($param, 0, $set) ] = urldecode(substr($param, $set + 1)); } elseif (!empty($param)) { $Page->place[] = $param;