Open Source alternative to Algolia + Pinecone and an Easier-to-Use alternative to ElasticSearch ⚡ 🔍 ✨ Fast, typo tolerant, in-memory fuzzy Search Engine for building delightful search experiences
C++ algoliadatastoreelasticsearchenterprise-searchfacetingfull-text-searchfuzzy-searchgeosearchin-memoryinstantsearchmerchandisingpineconesearchsearch-enginesemantic-searchsimilarity-searchsite-searchsynonymstypo-tolerancevector-search
Handle url encoding in document ID.
Kishore Nallan27d155895421
diff --git a/src/http_server.cpp b/src/http_server.cppindex 98e8f0ad..4c3419c3 100644--- a/src/http_server.cpp+++ b/src/http_server.cpp@@ -423,10 +423,7 @@ int HttpServer::catch_all_handler(h2o_handler_t *_h2o_handler, h2o_req_t *req) {for(size_t i = 0; i < rpath->path_parts.size(); i++) {const std::string & path_part = rpath->path_parts[i];if(path_part[0] == ':') {- std::string& value = path_parts[i];- if(path_part == ":collection") {- value = StringUtils::url_decode(value);- }+ std::string value = StringUtils::url_decode(path_parts[i]);query_map.emplace(path_part.substr(1), value);}}