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