BusinessMgr 3.0.0.1
This commit is contained in:
@@ -72,7 +72,7 @@ namespace Sacs.Web.Components
|
||||
get
|
||||
{
|
||||
var feature = HttpContext.Features.Get<IRequestCultureFeature>();
|
||||
return feature.RequestCulture.UICulture.TwoLetterISOLanguageName.ToLower();
|
||||
return feature.RequestCulture.UICulture.TwoLetterISOLanguageName.ToLowerInvariant();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -91,11 +91,12 @@ namespace Sacs.Web.Components
|
||||
{
|
||||
string protocol = Request.Scheme;
|
||||
var parameters = new RouteValueDictionary();
|
||||
String baseAction = Url.Action("Index", "", parameters, protocol);
|
||||
String homeAction = Url.Action("Index", "Home", parameters, protocol);
|
||||
switch (redirectLocation)
|
||||
{
|
||||
case RedirectLocation.WebAppBase:
|
||||
return Regex.Replace(homeAction, "\\/$", "") + "/";
|
||||
return baseAction;
|
||||
case RedirectLocation.WebAppHome:
|
||||
return homeAction;
|
||||
case RedirectLocation.WebAppHome_SessionExpired:
|
||||
|
||||
Reference in New Issue
Block a user