From jan at horde.org Tue Jan 15 12:55:19 2019 From: jan at horde.org (Jan Schneider) Date: Tue, 15 Jan 2019 12:55:19 +0000 Subject: [kronolith] Caldav import less strict than output on UID handling In-Reply-To: Message-ID: <20190115125519.Horde.-Um3pn5f1RBzq6LMlqsi0vp@yunosh.horde.org> Zitat von Ralf Lang : > Hi, > > is this a known issue with somebody working on it? Didn't find anything > on the tracker. > > A user repeatedly had issues with caldav sync to android erroring. > Exporting/importing the whole calendar fixed it temporarily. > The user works with thunderbird and android via caldav to the horde > backend. Horde and kronolith are essentially git master from 12/2018. > > We have narrowed down the issue: > > He got an invitation from an exchange user. He accepted via Thunderbird, > which in turn pushed the event to the server. > > Horde offered the new event via caldav as > > /rpc/calendars/thatuser/calendar:KU0qE1cPK8GdcNjVSR68WQ8/%257b0A748907-A0A5-4F3D-A5D4-D4E1F221C1B1%257d.ics > > The uid in the file is > > UID:{0A748907-A0A5-4F3D-A5D4-D4E1F221C1B1} > > Seems like the braces are url-expanded and then most likely url > expansion happens again at some point (on the %) when trying to fetch it. > > However, trying to access that URL yielded a 404. > > I will try to narrow this next and then open a bug with a reproducer. Not a known issue, though I have fixed issues with URL-encoding UIDs in the past. -- Jan Schneider The Horde Project https://www.horde.org/