Fixed issue in redirection to a page with a space in the name, saved in a namespace with a space in the name.
This commit is contained in:
parent
e36df77aa7
commit
aab14b7941
3 changed files with 5 additions and 5 deletions
|
@ -116,11 +116,11 @@ namespace ScrewTurn.Wiki {
|
|||
Message msg = Pages.FindMessage(messages, int.Parse(Request["Edit"]));
|
||||
Pages.ModifyMessage(page, int.Parse(Request["Edit"]), msg.Username, txtSubject.Text, DateTime.Now, content);
|
||||
}
|
||||
UrlTools.Redirect(UrlTools.BuildUrl(page.FullName, Settings.PageExtension, "?Discuss=1&NoRedirect=1"));
|
||||
UrlTools.Redirect(page.FullName + Settings.PageExtension + "?Discuss=1&NoRedirect=1");
|
||||
}
|
||||
|
||||
protected void btnCancel_Click(object sender, EventArgs e) {
|
||||
UrlTools.Redirect(UrlTools.BuildUrl(page.FullName, Settings.PageExtension, "?Discuss=1&NoRedirect=1"));
|
||||
UrlTools.Redirect(page.FullName + Settings.PageExtension + "?Discuss=1&NoRedirect=1");
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue