Improved URL encode/decode behaviour
This commit is contained in:
parent
ff19c9c625
commit
e49f89c782
3 changed files with 8 additions and 12 deletions
|
@ -108,7 +108,7 @@ namespace HTTP{
|
|||
H.SetHeader("Host", proxyUrl.host);
|
||||
}
|
||||
}else{
|
||||
H.url = "/" + Encodings::URL::encode(link.path);
|
||||
H.url = "/" + Encodings::URL::encode(link.path, "/:=@[]");
|
||||
if (link.args.size()){H.url += "?" + link.args;}
|
||||
if (link.port.size()){
|
||||
H.SetHeader("Host", link.host + ":" + link.port);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue