Yet another URL protection. should fix #16

This commit is contained in:
Sébastien Lucas 2012-09-30 14:50:44 +02:00
parent 14199cf9b3
commit e1972e64bd
2 changed files with 2 additions and 2 deletions

View file

@ -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;
}

View file

@ -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;
}