Closed Bug 634898 Opened 15 years ago Closed 14 years ago

OPTION method is run on calendar home instead of configured calendar

Categories

(Calendar :: Provider: CalDAV, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 610087

People

(Reporter: quillaud, Unassigned)

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.6) Gecko/20100625 Firefox/3.6.6 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.13) Gecko/20101207 Lightning/1.0b2 Thunderbird/3.1.7 The first request done by Lightning is a PROPFIND on the configured calendar url. The second request is an OPTION on what is assumed (1 level up from calendar url) as the corresponding calendar home collection. From what I can see, this is only used to check the DAV header for "calendar-auto-schedule". I dont see any reason why we need to issue this command on the calendar home collection as opposed to the configured calendar collection. This behavior is problematic because the logged in user may have read privilege on the calendar collection but no privilege on the calendar home collection. Reproducible: Always
Is this the same as Bug 658960 - Incorrect url to HTTP OPTIONS request ?
Wim, before I forget to mention, thanks for doing such an elaborate search for duplicates when filing bug 674088! This sounds very duplicate, marking as such.
Status: UNCONFIRMED → RESOLVED
Closed: 14 years ago
Resolution: --- → DUPLICATE
Well this may still end up being a duplicate but the symptoms are different as far as I can see. What I'm seeing is an OPTION request being made one level up from the configured calendar url, not at the root (see function caldav_setCalHomeSet() in calDavCalendar.js). In other words, assuming a configured calendar url of http://example.com/caldav/calendar/ , I'm seing a request being made on http://example.com/caldav/ , not on http://example.com/ as described in bug 674088 and bug 658960 . This OPTIONS command is necessary to check whether the server supports scheduling but the same check could well be done directly against the configured calendar url.
Status: RESOLVED → UNCONFIRMED
Resolution: DUPLICATE → ---
Status: UNCONFIRMED → RESOLVED
Closed: 14 years ago14 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.