mirror of
https://github.com/ading2210/libcurl.js.git
synced 2025-05-13 22:40:01 -04:00
fix bug with incorrect tcp hostnames
This commit is contained in:
parent
88f2249e4e
commit
1a53a3c8f7
3 changed files with 7 additions and 3 deletions
|
@ -1,5 +1,6 @@
|
|||
/* INSERT
|
||||
var ?opts ?= ?undefined;
|
||||
*/
|
||||
var parts=addr.split("/");
|
||||
url = url + parts[0] + ":" + port;
|
||||
var parts = addr.split("/");
|
||||
if (!url.endsWith("/")) url += "/";
|
||||
url += parts[0] + ":" + port;
|
Loading…
Add table
Add a link
Reference in a new issue