Merge pull request #4052 from zyhfish/task/fix-issue-4051
Fix #4051: set the return url correctly.
This commit is contained in:
commit
8631eacdf3
|
@ -34,12 +34,12 @@
|
|||
if (!PageState.QueryString.ContainsKey("returnurl"))
|
||||
{
|
||||
// remember current url
|
||||
_returnurl += WebUtility.UrlEncode(PageState.Route.PathAndQuery);
|
||||
_returnurl = WebUtility.UrlEncode(PageState.Route.PathAndQuery);
|
||||
}
|
||||
else
|
||||
{
|
||||
// use existing value
|
||||
_returnurl += PageState.QueryString["returnurl"];
|
||||
_returnurl = PageState.QueryString["returnurl"];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user