projects
/
arvados-workbench2.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
17653: Upgrades dns-packet.
[arvados-workbench2.git]
/
src
/
common
/
webdav.ts
diff --git
a/src/common/webdav.ts
b/src/common/webdav.ts
index 54601f16d2e5a380b315e8d8eb9834d2228bcb38..758a5e18e1e9ad44015b9a802d0e532e70ba3d76 100644
(file)
--- a/
src/common/webdav.ts
+++ b/
src/common/webdav.ts
@@
-2,7
+2,7
@@
//
// SPDX-License-Identifier: AGPL-3.0
//
// SPDX-License-Identifier: AGPL-3.0
-import {
escapeHashIfRequired
} from "./url";
+import {
customEncodeURI
} from "./url";
export class WebDAV {
export class WebDAV {
@@
-77,7
+77,8
@@
export class WebDAV {
r.open(config.method,
`${this.defaults.baseURL
? this.defaults.baseURL+'/'
r.open(config.method,
`${this.defaults.baseURL
? this.defaults.baseURL+'/'
- : ''}${escapeHashIfRequired(config.url, encodeURI)}`);
+ : ''}${customEncodeURI(config.url)}`);
+
const headers = { ...this.defaults.headers, ...config.headers };
Object
.keys(headers)
const headers = { ...this.defaults.headers, ...config.headers };
Object
.keys(headers)