New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
vdirsyncer fails to sync due to double URL encoding #491
Comments
Further above there should be a "Normalized URL from" or "Already normalized". What does it look like? |
This would be the line:
|
This should be fixed in master. If you want, you could try:
Then you have a working development version on |
0.12.1 is out, please reopen if this bug persists. |
Unfortunately, the error persists in version 0.12.1 in identical form. DavMail is the CalDav server which is a Microsoft Exchange adaptor. As cadaver has a similar problem with showing the events with html-quoted characters, I am wondering whether is is really a DavMail bug. However, I would have a good idea as to how to proceed at the moment. |
Is the forn absolutely identical? In particular the debugging lines about URL normalization (as asked above) interest me. |
The already normalized line occurs two times in the debug output. The "@" character is unquoted, the "=" is quoted. |
Here is the davmail log from DavMail as given for a Thunderbird transaction (it is not the same event as I could not identify it). The EML-resources seem to be recurrent events. Thunderbird has quoted the "@" also.
|
Could you try adding |
I did so and also inserted
above the
|
If I move the
|
Finally, if not returning early, only printing
|
If I insert
with
|
I believe that the problem is not due to mis-quoting. I got confused by the partial quoting of the URL but this seems to be handled well somehow, as the DavMail requests never results in an error. Also According to DavMail the request looks as follows:
The response looks like:
I noticed, that in the request the string contains an
|
After deleting the offending event, vdirsync bombed out on another one. After deleting that event as well, syncing worked. |
To do this cleanly it requires a lot of changes in vdirsyncer. Also I worry about skipping few events (such that user doesn't notice and misses e.g. a meeting) a lot. |
vdirsyncer, version 0.11.3
DavMail 4.7.2-2427
python --version: Python 2.7.12
python3 --version: 4.7.2-2427
OpenSuse 13.2
vdirsyncer -vdebug
for debug output.The failing URL is partly encoded (trailing %3D). Replacing this with '=' in cadaver prints a proper caldav event.
The text was updated successfully, but these errors were encountered: