Caldav import less strict than output on UID handling

Ralf Lang <[email protected]> Thu, 10 Jan 2019 10:05:56 +0100
Newsgroups gmane.comp.horde.kronolith
Message-ID <[email protected]>
This is a multi-part message in MIME format.
--------------51D52157A61F315D085D2802
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit

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.


--------------51D52157A61F315D085D2802
Content-Type: application/pgp-keys;
 name="pEpkey.asc"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
 filename="pEpkey.asc"

-----BEGIN PGP PUBLIC KEY BLOCK-----

mQENBFvSz9ABCAC/D3VOv9UiDxS9rLwc2SYOKj7kg5ERpKULorWII7QcIc8PC5xt
OlxRxI8sg15y8JvtrPo8FJG9RfDiwbqrRSL4nzlIui960c/SM9ayaXR9Q8YPRV93
PVZH94tdMdnO65tsMYmuwMtrN6DOokyT9snS++NHjH7KG2SnGu6lsonLF+Q1oxY4
c+yHZpRcHekTIKU1kuBGq5z/2WvdKq+mmpXOyZMDUDcjta0SsZTWCjbEhvDR69ks
+HleY2okRL+7oIjjwxscikGEU/w60AMl7K+js1sVCImaU/iknNw6zooOqttIQ2D5
TgvMSOhb2J9M4adUWWIjvu34rjzkA29fBJ/ZABEBAAG0HlJhbG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+AA6lvhJb/YKkQ7jZ69CAc09+sV5HFPKMo19Yxpsz45jXhgtlCsCkqcobtEm90Qg
o3HeZ1gJ0VGKxRHakyAsgh5lfKnpIUCRLxmcYpUTCZ0oLhafrwfKlW3X7x0jBC3f
EbYJmGcUBIH7vTxXcmsfh0Ury7JxMjsywsi9AoeVInpO/cCNYYPlsOgO/98hJYGg
kOgZizmcxHWKR+5qM0ufNQoQYU1OhSovkVtNFSn5+lOMiBwtTA==
=oyfV
-----END PGP PUBLIC KEY BLOCK-----

--------------51D52157A61F315D085D2802
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

-- 
kronolith mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: [email protected]

--------------51D52157A61F315D085D2802--