libkiwix/test
Matthieu Gautier 3052d0787a UrlEncode the `content_id`.
The HumanReadableId can contains special char (`&`/`=`/...)
As it is used as to create a url in the opds template,
we must url encode it.

- We don't need to encode the book id as it is a uuid, it never contains
special char.
- We don't need to encode the book url as it is read from the library and
the url must already be correctly encoded in the library.xml.
(tests modified accordingly)
2022-01-11 17:53:29 +01:00
..
data UrlEncode the `content_id`. 2022-01-11 17:53:29 +01:00
book.cpp Testing of Book::getHumanReadableIdFromPath() 2021-11-22 20:54:44 +04:00
counterParsing.cpp Adapt kiwix-lib to the new libzim api. 2020-12-02 12:16:48 +01:00
httplib.h Fix warning in httplib. 2021-11-16 09:39:56 +01:00
kiwixserve.cpp Fix tests. 2020-01-20 17:00:18 +01:00
library.cpp Enter Library::removeBooksNotUpdatedSince() 2021-11-30 18:20:27 +04:00
manager.cpp Manager::reload() 2021-11-30 18:20:27 +04:00
meson.build UrlEncode the `content_id`. 2022-01-11 17:53:29 +01:00
name_mapper.cpp Dropped Library::getBookBy*() non-const functions 2021-11-30 18:20:27 +04:00
opds_catalog.cpp OpdsCatalog::getSearchUrl() 2021-06-30 18:27:00 +02:00
pathTools.cpp Add tests for kiwix::fileExists and kiwix::fileReadable 2022-01-10 00:18:44 +05:30
reader.cpp Add unit tests for Searcher and Reader 2021-07-03 14:07:14 +05:30
regex.cpp Move all public *Tools.h in src. 2021-07-07 14:43:13 +02:00
searcher.cpp fixup! Searcher::add_reader() rejects duplicate readers 2021-12-16 16:51:03 +01:00
server.cpp UrlEncode the `content_id`. 2022-01-11 17:53:29 +01:00
stringTools.cpp Better parsing of `M/Counter` 2020-10-28 16:03:18 +01:00
tagParsing.cpp Fix tests. 2020-01-20 17:00:18 +01:00