mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-09-01 18:38:02 +00:00
Remove URI encoding from PUT saver (#2974)
Remove URI encoding from PUT saver and let the browser handle it as necessary. This seems to be the normal way of doing things. We have confirmed that several WebDAV servers do not expect the file names to be double-encoded.
This commit is contained in:
@@ -47,7 +47,7 @@ var PutSaver = function(wiki) {
|
||||
};
|
||||
|
||||
PutSaver.prototype.uri = function() {
|
||||
return encodeURI(document.location.toString().split("#")[0]);
|
||||
return document.location.toString().split("#")[0];
|
||||
};
|
||||
|
||||
// TODO: in case of edit conflict
|
||||
|
Reference in New Issue
Block a user