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
View File
@@ -457,6 +457,7 @@ std::string uri_builder::str() const {
s << '?';
for (size_t i = 0; i < queries_.size(); ++i)
{
if (i != 0) s << '&';
s << queries_[i].key << "=";
HtmlHelper::encode_url_segment(s,queries_[i].value,true);
}