mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 10:58:30 -05:00
handle non ascii characters hdfs filename (#4340)
* encoding the url so that special characters doesn't make the rquest a bad request.
This commit is contained in:
@@ -67,7 +67,7 @@ export class WebHDFS {
|
|||||||
params || {}
|
params || {}
|
||||||
);
|
);
|
||||||
endpoint.search = querystring.stringify(searchOpts);
|
endpoint.search = querystring.stringify(searchOpts);
|
||||||
return url.format(endpoint);
|
return encodeURI(url.format(endpoint));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user