Fix path escaping.

This commit is contained in:
bootstraponline
2012-08-06 13:36:28 -06:00
parent c72e91ddaf
commit 19e3987ae3
@@ -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;