Add support for dual-'?' params in RIST push outputs, fix a small memory leak in RIST output
This commit is contained in:
parent
2d4a2f5835
commit
696e04d6a0
3 changed files with 19 additions and 9 deletions
|
@ -206,8 +206,9 @@ std::string HTTP::URL::getUrl() const{
|
|||
ret += host;
|
||||
}
|
||||
if (port.size() && getPort() != getDefaultPort()){ret += ":" + port;}
|
||||
ret += "/";
|
||||
ret += getEncodedPath();
|
||||
if (protocol != "rist"){
|
||||
ret += "/" + getEncodedPath();
|
||||
}
|
||||
if (args.size()){ret += "?" + args;}
|
||||
if (frag.size()){ret += "#" + Encodings::URL::encode(frag, "/:=@[]#?&");}
|
||||
return ret;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue