Ejemplo n.º 1
0
        // Token: 0x060002BD RID: 701 RVA: 0x0000DB38 File Offset: 0x0000BD38
        protected override Uri GetRedirectUrl(string redirectServer)
        {
            Uri        uri        = new Uri(OwaEcpRedirectStrategy.GetPodRedirectUrl(base.RequestContext.HttpContext.Request.Url, redirectServer));
            string     text       = null;
            string     host       = base.RequestContext.HttpContext.Request.Url.Host;
            HttpCookie httpCookie = base.RequestContext.HttpContext.Request.Cookies["orgName"];

            if (httpCookie != null && !string.IsNullOrEmpty(httpCookie.Value))
            {
                text = httpCookie.Value.ToLowerInvariant();
            }
            if (text != null && !host.Contains(Constants.OutlookDomain))
            {
                uri = OwaEcpRedirectStrategy.AddRealmParameter(uri, text);
            }
            return(uri);
        }