Skip to content

Commit 8d9672d

Browse files
committed
Workaround for missing encoding of brackets in downloadPath.
1 parent e136d1a commit 8d9672d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,7 @@ function ConManager(baseurl, token_name) {
361361
let options = {
362362
'hostname': urlpath.hostname,
363363
'port': urlpath.port,
364-
'path': urlpath.path,
364+
'path': urlpath.path.replace('[', '%5B').replace(']', '%5D'),
365365
'method': 'GET',
366366
'headers': headers
367367
};

0 commit comments

Comments
 (0)