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
|
@ -26,7 +26,7 @@ namespace ScrewTurn.Wiki {
|
|||
lnkMainPage.NavigateUrl = nspace + "Default.aspx";
|
||||
|
||||
if(!Page.IsPostBack) {
|
||||
string referrer = Request.UrlReferrer != null ? Request.UrlReferrer.ToString() : "";
|
||||
string referrer = Request.UrlReferrer != null ? Request.UrlReferrer.FixHost().ToString() : "";
|
||||
if(!string.IsNullOrEmpty(referrer)) {
|
||||
lnkPreviousPage.Visible = true;
|
||||
lnkPreviousPage.NavigateUrl = referrer;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue