Uri Change

Summary

Ensured that checking for a query key now returns true when the key is found, allowing accurate existence checks

Added “&” separators when reconstructing query strings so that URIs are properly formatted with multiple parameters
This commit is contained in:
ExtremesecrecyOne
2025-07-22 16:44:09 -07:00
parent d8043d2041
commit 54926871fc
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -204,7 +204,7 @@ public:
bool has_query(const std::string &key) const {
for (size_t i = 0; i < queries_.size(); ++i)
{
if (queries_[i].key == key) true;
if (queries_[i].key == key) return true;
}
return false;