Fix path escaping.
This commit is contained in:
@@ -99,8 +99,9 @@ $.save = function( commitMessage ) {
|
|||||||
var msg = defaultCommitMessage();
|
var msg = defaultCommitMessage();
|
||||||
var newLocation = location.protocol + '//' + location.host + baseUrl;
|
var newLocation = location.protocol + '//' + location.host + baseUrl;
|
||||||
|
|
||||||
|
// 'a%2Fb' => a/b
|
||||||
if (pathName) {
|
if (pathName) {
|
||||||
newLocation += '/' + pathName;
|
newLocation += '/' + unescape(pathName);
|
||||||
}
|
}
|
||||||
|
|
||||||
newLocation += '/' + pageName;
|
newLocation += '/' + pageName;
|
||||||
|
|||||||
Reference in New Issue
Block a user