diff --git a/author.php b/author.php index a3310a7..f65a256 100644 --- a/author.php +++ b/author.php @@ -54,7 +54,7 @@ order by substr (upper (sort), 1, 1)'); { array_push ($entryArray, new Entry ($post->title, Author::getEntryIdByLetter ($post->title), str_format (localize("authorword.many"), $post->count), "text", - array ( new LinkNavigation ("?page=".parent::PAGE_AUTHORS_FIRST_LETTER."&id=".$post->title)))); + array ( new LinkNavigation ("?page=".parent::PAGE_AUTHORS_FIRST_LETTER."&id=". rawurlencode ($post->title))))); } return $entryArray; } diff --git a/book.php b/book.php index 4be9df3..bc11bf9 100644 --- a/book.php +++ b/book.php @@ -316,7 +316,7 @@ order by substr (upper (sort), 1, 1)"); { array_push ($entryArray, new Entry ($post->title, Book::getEntryIdByLetter ($post->title), str_format (localize("bookword.many"), $post->count), "text", - array ( new LinkNavigation ("?page=".parent::PAGE_ALL_BOOKS_LETTER."&id=".$post->title)))); + array ( new LinkNavigation ("?page=".parent::PAGE_ALL_BOOKS_LETTER."&id=". rawurlencode ($post->title))))); } return $entryArray; }