Beispiel #1
0
        protected override Uri GetTargetBackEndServerUrl()
        {
            Uri targetBackEndServerUrl = base.GetTargetBackEndServerUrl();

            if (HttpProxySettings.DFPOWAVdirProxyEnabled.Value)
            {
                string     text       = base.ClientRequest.QueryString[OwaProxyRequestHandler.DFPOWAVdirParam];
                HttpCookie httpCookie = base.ClientRequest.Cookies["X-DFPOWA-Vdir"];
                if (!base.ClientRequest.Url.AbsolutePath.EndsWith("/logoff.owa", StringComparison.OrdinalIgnoreCase))
                {
                    string text2 = string.Empty;
                    if (httpCookie != null && !string.IsNullOrEmpty(httpCookie.Value))
                    {
                        text2 = httpCookie.Value;
                    }
                    if (!string.IsNullOrEmpty(text))
                    {
                        text = text.Trim();
                        if (OwaProxyRequestHandler.DFPOWAValidVdirValues.Contains(text, StringComparer.OrdinalIgnoreCase))
                        {
                            text2 = text;
                        }
                    }
                    if (!string.IsNullOrEmpty(text2))
                    {
                        return(UrlUtilities.FixDFPOWAVdirUrlForBackEnd(targetBackEndServerUrl, text2));
                    }
                }
            }
            return(UrlUtilities.FixIntegratedAuthUrlForBackEnd(targetBackEndServerUrl));
        }
 // Token: 0x060005B6 RID: 1462 RVA: 0x0001E8DA File Offset: 0x0001CADA
 protected override Uri GetTargetBackEndServerUrl()
 {
     return(UrlUtilities.FixIntegratedAuthUrlForBackEnd(base.GetTargetBackEndServerUrl()));
 }