Yet another URL protection. should fix #16

このコミットが含まれているのは:
Sébastien Lucas 2012-09-30 14:50:44 +02:00
コミット e1972e64bd
2個のファイルの変更2行の追加2行の削除

ファイルの表示

@ -54,7 +54,7 @@ order by substr (upper (sort), 1, 1)');
{ {
array_push ($entryArray, new Entry ($post->title, Author::getEntryIdByLetter ($post->title), array_push ($entryArray, new Entry ($post->title, Author::getEntryIdByLetter ($post->title),
str_format (localize("authorword.many"), $post->count), "text", 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; return $entryArray;
} }

ファイルの表示

@ -316,7 +316,7 @@ order by substr (upper (sort), 1, 1)");
{ {
array_push ($entryArray, new Entry ($post->title, Book::getEntryIdByLetter ($post->title), array_push ($entryArray, new Entry ($post->title, Book::getEntryIdByLetter ($post->title),
str_format (localize("bookword.many"), $post->count), "text", 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; return $entryArray;
} }