Menu

#623 CalDav command line clients do not fetch events with HTML-quoted characters

v4.7.2
closed-fixed
nobody
5
2018-06-16
2016-08-25
No

DavMail works fine with Thunderbird for me. I have problem when accessing the CalDav gateway with command line clients which seem to be confused by html-quoted characters. I have used cadaver and vdirsync both of which report errors.
For example, vdirsync reports:

error: Unknown error occured for my_calendar/calendar: /users/user@institution/calendar/AAMkADFhMDg1YzYwLTgwMDItNDJiYi1hNmY2LTgxZDI1MDcwNmIzMgBGAAAAAAAutjjQvZGzQZDR7unScTwfBwA4R1qAXwlGQ7K94p6FsS4bAAAA66iHAAD2R2asQXn-SImONQz5BBbsAABHFlNrAAA%3D.EML

the trailing %3D corresponds to a '='. Cadaver tries to fetch a double quoted URL for which the '%' has been quoted again. Manually instructing cadaver to fetch the event with an unquoted '=' in the end works but not a "cat *". I do not know who is to blame here and would be grateful for further debugging hints.

Thank you very much in advance.

Discussion

  • Mickael Guessant

    Please check davmail.log for more details: DavMail returns URL encoded event path => you client is supposed to understand this and use the same value in the following fetch request.

    Note that many Caldav clients do not handle this correctly and DavMail includes workarounds for broken OSX iCal and older Mozilla Lightning clients.

     
  • Stefan Böhringer

    There were two offending events that I deleted after which vdirsync worked. Somehow, for these events the id encoded in the URL did not match the id in the event. So this problem can be considered fixed.

    Thank you.

     
  • Florian Haberl

    Florian Haberl - 2017-11-14

    We`re having the same problem, syncing with Outlook Online. CalDav Client won't understand URL encoded path and outputs an error message "file not found". Which workarounds does DavMail include or is it possible to deactivate URL encoding?

    DavMail version is 4.8.0

     

    Last edit: Florian Haberl 2017-11-14
  • Florian Haberl

    Florian Haberl - 2017-11-14

    added 2 screenshots displaying error message

     
  • Mickael Guessant

    • status: open --> closed-fixed
     
  • Mickael Guessant

    With recent versions DavMail will try to use item id instead of urlcompname in url, should work better.

     

Log in to post a comment.