mirror of
https://github.com/kiwix/libkiwix.git
synced 2026-10-21 08:35:36 -04:00
Introduce Error exception to do i18n
This commit is contained in:
1 parent
c72132054d
commit
f0065fdd6f
4 files changed
+39
-13
No files matched your search
+2
-2
@@ -919,7 +919,7 @@ TEST_F(ServerTest, 400WithBodyTesting)
|
||||
The requested URL "/ROOT/search?content=non-existing-book&pattern=asdfqwerty" is not a valid request.
|
||||
</p>
|
||||
<p>
|
||||
The requested book doesn't exist.
|
||||
No such book: non-existing-book
|
||||
</p>
|
||||
)" },
|
||||
{ /* url */ "/ROOT/search?content=non-existing-book&pattern=a\"<script foo>",
|
||||
@@ -929,7 +929,7 @@ TEST_F(ServerTest, 400WithBodyTesting)
|
||||
The requested URL "/ROOT/search?content=non-existing-book&pattern=a"<script foo>" is not a valid request.
|
||||
</p>
|
||||
<p>
|
||||
The requested book doesn't exist.
|
||||
No such book: non-existing-book
|
||||
</p>
|
||||
)" },
|
||||
// There is a flaw in our way to handle query string, we cannot differenciate
|
||||
|
||||
Reference in new issue
Block a user