mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-29 01:09:02 +01:00
fix for iCal4OL using WinHTTP only supporting a certain header length
This commit is contained in:
parent
8096c34bef
commit
291b540aa7
@ -530,6 +530,11 @@ class calendar_groupdav extends groupdav_handler
|
|||||||
|
|
||||||
if (!$prefix) $user = null; // /infolog/ does not imply setting the current user (for new entries it's done anyway)
|
if (!$prefix) $user = null; // /infolog/ does not imply setting the current user (for new entries it's done anyway)
|
||||||
|
|
||||||
|
// fix for iCal4OL using WinHTTP only supporting a certain header length
|
||||||
|
if (isset($_SERVER['HTTP_IF_SCHEDULE']) && !isset($_SERVER['HTTP_IF_SCHEDULE_TAG_MATCH']))
|
||||||
|
{
|
||||||
|
$_SERVER['HTTP_IF_SCHEDULE_TAG_MATCH'] = $_SERVER['HTTP_IF_SCHEDULE'];
|
||||||
|
}
|
||||||
$return_no_access = true; // as handled by importVCal anyway and allows it to set the status for participants
|
$return_no_access = true; // as handled by importVCal anyway and allows it to set the status for participants
|
||||||
$oldEvent = $this->_common_get_put_delete('PUT',$options,$id,$return_no_access,
|
$oldEvent = $this->_common_get_put_delete('PUT',$options,$id,$return_no_access,
|
||||||
isset($_SERVER['HTTP_IF_SCHEDULE_TAG_MATCH'])); // dont fail with 412 Precondition Failed in that case
|
isset($_SERVER['HTTP_IF_SCHEDULE_TAG_MATCH'])); // dont fail with 412 Precondition Failed in that case
|
||||||
|
Loading…
Reference in New Issue
Block a user