Fixed all redirections with appropriate host (as configured).
This commit is contained in:
parent
8c35eed690
commit
191d903b2d
13 changed files with 149 additions and 124 deletions
|
@ -51,7 +51,7 @@ namespace ScrewTurn.Wiki {
|
|||
bool canManageDiscussion = AuthChecker.CheckActionForPage(currentPage, Actions.ForPages.ManageDiscussion, currentUsername, currentGroups);
|
||||
|
||||
if(!canView) {
|
||||
if(SessionFacade.LoginKey == null) UrlTools.Redirect("Login.aspx?Redirect=" + Tools.UrlEncode(Request.Url.ToString()));
|
||||
if(SessionFacade.LoginKey == null) UrlTools.Redirect("Login.aspx?Redirect=" + Tools.UrlEncode(Tools.GetCurrentUrlFixed()));
|
||||
else UrlTools.Redirect(UrlTools.BuildUrl("AccessDenied.aspx"));
|
||||
}
|
||||
attachmentViewer.Visible = canDownloadAttachments;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue