URI decode path in rename dialog (#1447)

This commit is contained in:
Dawa Ometto
2019-12-30 21:55:58 +01:00
committed by GitHub
parent caf4da73e2
commit 2b380ee6bc
@@ -218,8 +218,8 @@ $(document).ready(function() {
$('#minibutton-rename-page').click(function(e) {
e.preventDefault();
var path = pagePath();
var oldName = pageName();
var path = decodeURI(pagePath());
var oldName = decodeURI(pageName());
var context_blurb =
"Renamed page will be under " +
"<span class='path'>" + htmlEscape(cleanPath(path)) + "</span>" +