webdav portal owa fixes
This commit is contained in:
parent
9adf6e3f97
commit
abe202324c
2 changed files with 13 additions and 3 deletions
|
@ -33,7 +33,18 @@ namespace WebsitePanel.WebDavPortal.FileOperations
|
|||
var request = HttpContext.Current.Request;
|
||||
int supportedVersion;
|
||||
|
||||
if (WebDavAppConfigManager.Instance.OwaSupportedBrowsers.TryGetValue(request.Browser.Browser, out supportedVersion) == false)
|
||||
string key = string.Empty;
|
||||
|
||||
foreach (var supportedKey in WebDavAppConfigManager.Instance.OwaSupportedBrowsers.Keys)
|
||||
{
|
||||
if (supportedKey.Split(';').Contains(request.Browser.Browser))
|
||||
{
|
||||
key = supportedKey;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
if (WebDavAppConfigManager.Instance.OwaSupportedBrowsers.TryGetValue(key, out supportedVersion) == false)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue