6.0.0-alpha12
6/12/25

[#14524] CalDAV does not work with $conf[session][max_time]
Summary CalDAV does not work with $conf[session][max_time]
Queue Horde Framework Packages
Type Bug
State Duplicate
Priority 2. Medium
Owners
Requester vectro (at) vectro (dot) org
Created 11/27/2016 (3119 days ago)
Due
Updated 11/28/2016 (3118 days ago)
Assigned
Resolved 11/28/2016 (3118 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
11/28/2016 09:05:59 AM Jan Schneider State ⇒ Duplicate
 
11/28/2016 06:10:03 AM vectro (at) vectro (dot) org Comment #2 Reply to this comment
Apologies, this is a duplicate of bug 14040 and is fixed in v5.2.7.
11/27/2016 07:30:12 PM vectro (at) vectro (dot) org Comment #1
State ⇒ Unconfirmed
Priority ⇒ 2. Medium
Type ⇒ Bug
Summary ⇒ CalDAV does not work with $conf[session][max_time]
Queue ⇒ Horde Framework Packages
Milestone ⇒
Patch ⇒ No
Reply to this comment
Using Thunderbird, CalDAV does not work with  $conf[session][max_time] 
set to a value other than zero. It generates log messages like this:
HORDE: User ... is not authorized (Remote host: ...) [pid ... on line 
1573 of "/usr/share/php/Horde/Registry.php"]

Further debugging reveals that the $session->begin used on line 2652 
of Registry.php is from the time when the calendar was added to 
Thunderbird. And setting $conf[session][max_time] to 0 resolves the 
error.

I'm not sure, but I think the fix should be to ignore session cookies 
for CalDAV requests.

This bug was observed in Horde 5.2.6, but the relevant code doesn't 
seem to have changed since.

Saved Queries