1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-06-16 02:19:55 +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:
Arlen22 2017-09-16 10:30:13 -04:00 committed by Jeremy Ruston
parent 489f9a0079
commit c069d48a2a

View File

@ -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