@@ -489,7 +489,7 @@ function home_modal_close(docid) { | |||
function document_update_name(docid, name) { | |||
$.ajax({ | |||
type: "PATCH", | |||
url: conf.openapi + "/documents/" + docid + "?name=" + name, | |||
url: conf.openapi + "/documents/" + docid + "?name=" + encodeURIComponent(name), | |||
data: null, | |||
success: function(data) { | |||