Yet another URL protection. should fix #16
This commit is contained in:
parent
14199cf9b3
commit
e1972e64bd
|
@ -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;
|
||||
}
|
||||
|
|
2
book.php
2
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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue