diff --git a/src/opds_dumper.cpp b/src/opds_dumper.cpp index fc1f01c1b..072c3ce79 100644 --- a/src/opds_dumper.cpp +++ b/src/opds_dumper.cpp @@ -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},