[http] fix query detection, addresshelper processing, update tests

Signed-off-by: R4SAS <r4sas@i2pmail.org>
This commit is contained in:
R4SAS
2023-02-14 18:51:14 +00:00
parent 4156900fb5
commit 77142e59ee
4 changed files with 59 additions and 14 deletions

View File

@@ -37,7 +37,7 @@ namespace http
std::string query;
std::string frag;
URL(): schema(""), user(""), pass(""), host(""), port(0), path(""), query(""), frag("") {};
URL(): schema(""), user(""), pass(""), host(""), port(0), path(""), hasquery(false), query(""), frag("") {};
/**
* @brief Tries to parse url from string