17337: Added % sign handling in collection files
[arvados-workbench2.git] / src / common / webdav.ts
index ca3b6d74686093ad75b3776faa29499ca9684de6..8d071fa635ce2f0dc58085e447f981191d96e8a7 100644 (file)
@@ -79,7 +79,7 @@ export class WebDAV {
                     ? this.defaults.baseURL+'/'
                     : ''}${customEncodeURI(config.url)}`);
 
-            if (config.headers && config.headers.Destination && config.headers.Destination.indexOf('#') > -1) {
+            if (config.headers && config.headers.Destination) {
                 config.headers.Destination = encodeHash(config.headers.Destination);
             }