mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-01-11 09:50:27 +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:
parent
489f9a0079
commit
c069d48a2a
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user