Summary | CalDav: Wrong .ics URLs generated, Details for events not accesible |
Queue | Kronolith |
Queue Version | Git master |
Type | Bug |
State | No Feedback |
Priority | 2. Medium |
Owners | jan (at) horde (dot) org |
Requester | d-fens (at) 00010111 (dot) de |
Created | 02/20/2012 (4858 days ago) |
Due | |
Updated | 08/27/2013 (4304 days ago) |
Assigned | 07/18/2013 (4344 days ago) |
Resolved | 08/27/2013 (4304 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
State ⇒ Feedback
HTTP authentication header, this rather looks like a client trying an
unauthenticated request first, and only then sending the
authentication informations. Apple clients do this for example.
State ⇒ Assigned
Assigned to Jan Schneider
http:/..../default%20calendar
let the eventsdetails appear, so this should be properly urlencoded
*not* properly encoded, it's already an invalid URL. And if he
provides a correctly encoded URL, we would double-encode it.
We should check if the entered URL is valid though before saving it.
And I still wonder why this redirection happens with invalid URLs.
the space in the url causes the error adding it with
http:/..../default%20calendar
let the eventsdetails appear, so this should be properly urlencoded
http://192.168.1.99/owncloud/apps/calendar/caldav.php/calendars/user/default
calendar
versus
http://192.168.1.99/owncloud/apps/calendar/caldav.php/calendars/user/default
calendar/
please always add a trailing slash to it, the events are readable then
(correct urls generated)
thanks!
the server instead?
from my browser (firefox), does this help?
192.168.1.99 - - [20/Feb/2012:15:01:22 +0100] "OPTIONS
/owncloud/apps/calendar/caldav.php/calendars/simon/default calendar/
HTTP/1.1" 401 291 "-" "Mozilla/4.0 (compatible; MSIE 5.01; Windows NT
5.0)"
192.168.1.99 - simon [20/Feb/2012:15:01:22 +0100] "OPTIONS
/owncloud/apps/calendar/caldav.php/calendars/simon/default%20calendar/
HTTP/1.1" 200 - "-" "Mozilla/4.0 (compatible; MSIE 5.01; Windows NT
5.0)"
192.168.1.99 - - [20/Feb/2012:15:01:23 +0100] "PROPFIND
/owncloud/apps/calendar/caldav.php/calendars/simon/default calendar/
HTTP/1.1" 401 291 "-" "Mozilla/4.0 (compatible; MSIE 5.01; Windows NT
5.0)"
192.168.1.99 - simon [20/Feb/2012:15:01:23 +0100] "PROPFIND
/owncloud/apps/calendar/caldav.php/calendars/simon/default%20calendar/
HTTP/1.1" 207 1242 "-" "Mozilla/4.0 (compatible; MSIE 5.01; Windows NT
5.0)"
192.168.1.99 - - [20/Feb/2012:15:01:23 +0100] "GET
/owncloud/apps/calendar/caldav.php/calendars/simon/default
calendar/owncloud/apps/calendar/caldav.php/calendars/simon/default%20calendar/860a9db6-b4b2-4d59-b402-2d321ad119da.ics HTTP/1.1" 401 291 "-" "Mozilla/4.0 (compatible; MSIE 5.01; Windows NT
5.0)"
192.168.1.99 - simon [20/Feb/2012:15:01:23 +0100] "GET
/owncloud/apps/calendar/caldav.php/calendars/simon/default%20calendar/owncloud/apps/calendar/caldav.php/calendars/simon/default%20calendar/860a9db6-b4b2-4d59-b402-2d321ad119da.ics HTTP/1.1" 404 270 "-" "Mozilla/4.0 (compatible; MSIE 5.01; Windows NT
5.0)"
192.168.1.99 - - [20/Feb/2012:15:01:22 +0100] "POST
/horde/services/ajax.php/kronolith/getEvent HTTP/1.1" 200 145
"http://192.168.1.99/horde/kronolith/" "Mozilla/5.0 (X11; Linux
x86_64; rv:9.0.1) Gecko/20100101 Firefox/9.0.1"
d-partment horde # git status
# On branch master
# Changed but not updated:
# (use "git add <file>..." to update what will be committed)
# (use "git checkout -- <file>..." to discard changes in working directory)
#
# modified: horde/config/registry.php
# modified: imp/config/backends.php
#
# Untracked files:
# (use "git add <file>..." to include in what will be committed)
#
# horde.log
# horde/admin/config/LOG_USER
# horde/services/LOG_USER
# horde/services/portal/LOG_USER
# kronolith/LOG_USER
no changes added to commit (use "git add" and/or "git commit -a"
sorry was my fault as i tried to debug and added a line so you thought
it wasn't current, here with vanilla git
2012-02-20T14:46:00+01:00 NOTICE: HORDE [kronolith] PHP ERROR:
Undefined property: Kronolith_Driver_Ical::$_permission [pid 6140 on
line 669 of "/home/user/horde/kronolith/lib/Driver/Ical.php"]
2012-02-20T14:46:00+01:00 DEBUG: HORDE 1. Kronolith::header()
/home/user/horde/kronolith/index.php:144
2. Kronolith::includeJSVars() /home/user/horde/kronolith/lib/Kronolith.php:92
3. Kronolith_Calendar_Remote->toHash()
/home/user/horde/kronolith/lib/Kronolith.php:231
4. Kronolith_Calendar_Remote->hasPermission()
/home/user/horde/kronolith/lib/Calendar/Remote.php:176
5. Kronolith_Driver_Ical->getPermission()
/home/user/horde/kronolith/lib/Calendar/Remote.php:130
6. Horde::errorHandler() /home/user/horde/kronolith/lib/Driver/Ical.php:669
Undefined property: Kronolith_Driver_Ical::$_permission [pid 5829 on
line 671 of "/home/user/horde/kronolith/lib/Driver/Ical.php"]
State ⇒ Feedback
adding a owncloud calendar as external calander with url like
http://192.168.1.99/owncloud/apps/calendar/caldav.php/calendars/user/default
calender doesn't find the events althouh they do appear in the
calendar, and after clicking around the external calender isn't
shown n the left side anymore :(
http://192.168.1.99/owncloud/apps/calendar/caldav.php/calendars/user/default/owncloud/apps/calendar/caldav.php/calendars/user/default%20calendar/860a9db6-b4b2-4d59-b402-2d321ad119da.ics/ (path added
twice)
the server instead?
Undefined property: Kronolith_Driver_Ical::$_permission [pid 5829 on
line 671 of "/home/user/horde/kronolith/lib/Driver/Ical.php"]
2012-02-20T14:18:55+01:00 DEBUG: HORDE 1. Kronolith::header()
/home/user/horde/kronolith/index.php:144
2. Kronolith::includeJSVars() /home/user/horde/kronolith/lib/Kronolith.php:92
3. Kronolith_Calendar_Remote->toHash()
/home/user/horde/kronolith/lib/Kronolith.php:231
4. Kronolith_Calendar_Remote->hasPermission()
/home/user/horde/kronolith/lib/Calendar/Remote.php:176
5. Kronolith_Driver_Ical->getPermission()
/home/user/horde/kronolith/lib/Calendar/Remote.php:130
6. Horde::errorHandler() /home/user/horde/kronolith/lib/Driver/Ical.php:671
Patch ⇒ No
State ⇒ Unconfirmed
Milestone ⇒
Queue ⇒ Kronolith
Summary ⇒ CalDav: Wrong .ics URLs generated, Details for events not accesible
Type ⇒ Bug
Priority ⇒ 2. Medium
adding a owncloud calendar as external calander with url like
http://192.168.1.99/owncloud/apps/calendar/caldav.php/calendars/user/default
calender doesn't find the events althouh they do appear in the
calendar, and after clicking around the external calender isn't shown
n the left side anymore :(
it looks for the ics at
http://192.168.1.99/owncloud/apps/calendar/caldav.php/calendars/user/default/owncloud/apps/calendar/caldav.php/calendars/user/default%20calendar/860a9db6-b4b2-4d59-b402-2d321ad119da.ics/ (path added
twice)