Category name is fully URI-encoded

This commit is contained in:
Veloman Yunkan 2023-01-25 16:33:28 +04:00
parent bad13d76b4
commit 772243e832
1 changed files with 1 additions and 1 deletions

View File

@ -241,7 +241,7 @@ std::string OPDSDumper::categoriesOPDSFeed() const
const auto now = gen_date_str();
kainjow::mustache::list categoryData;
for ( const auto& category : library->getBooksCategories() ) {
const auto urlencodedCategoryName = urlEncode(category);
const auto urlencodedCategoryName = urlEncode(category, true);
categoryData.push_back(kainjow::mustache::object{
{"name", category},
{"urlencoded_name", urlencodedCategoryName},