Merge branch 'development' into LTS_development

This commit is contained in:
Thulinma 2018-01-03 11:09:01 +01:00
commit f30dc37c7f
3 changed files with 5 additions and 5 deletions

View file

@ -172,9 +172,9 @@ std::string HTTP::URL::getUrl() const{
}
if (port.size() && getPort() != getDefaultPort()){ret += ":" + port;}
ret += "/";
if (path.size()){ret += Encodings::URL::encode(path);}
if (path.size()){ret += Encodings::URL::encode(path, "=");}
if (args.size()){ret += "?" + args;}
if (frag.size()){ret += "#" + Encodings::URL::encode(frag);}
if (frag.size()){ret += "#" + Encodings::URL::encode(frag, "=");}
return ret;
}