mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-28 09:38:53 +01:00
* WebDAV: fix encoding for Cyberduck or Mountain Duck clients
This commit is contained in:
parent
b0450ff30b
commit
630c340ce8
@ -2710,6 +2710,9 @@ class HTTP_WebDAV_Server
|
|||||||
!isset($_SERVER['HTTP_USER_AGENT']) ||
|
!isset($_SERVER['HTTP_USER_AGENT']) ||
|
||||||
// current netdrive uses "NetDrive 2.5.8" as user-agent
|
// current netdrive uses "NetDrive 2.5.8" as user-agent
|
||||||
stripos($_SERVER['HTTP_USER_AGENT'],'NetDrive') !== false ||
|
stripos($_SERVER['HTTP_USER_AGENT'],'NetDrive') !== false ||
|
||||||
|
// Cyberduck or Mountain Duck WebDAV clients
|
||||||
|
stripos($_SERVER['HTTP_USER_AGENT'],'Cyberduck') !== false ||
|
||||||
|
stripos($_SERVER['HTTP_USER_AGENT'],'Mountain Duck') !== false ||
|
||||||
// OS X Finder (WebDAVFS/3.0.0 (03008000) Darwin/14.3.0 (x86_64))
|
// OS X Finder (WebDAVFS/3.0.0 (03008000) Darwin/14.3.0 (x86_64))
|
||||||
stripos($_SERVER['HTTP_USER_AGENT'],'WebDAVFS') !== false && stripos($_SERVER['HTTP_USER_AGENT'],'Darwin'))
|
stripos($_SERVER['HTTP_USER_AGENT'],'WebDAVFS') !== false && stripos($_SERVER['HTTP_USER_AGENT'],'Darwin'))
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user