GNOME Bugzilla – Bug 503662
Evolution garbles the CalDav URI when an @ symbol is in the username field
Last modified: 2008-12-03 11:16:07 UTC
Please describe the problem: When subscribing to a CalDav calendar when there is an @ symbol in the username (which is very common), the connection fails and the URI field is scrambled in a pseudorandom fashion. Steps to reproduce: 1. Add a new calendar 2. Select CalDav as the Calendar Type, enter a Name, and then enter the URI of your CalDav server. I used "http://mail.local", my test CalDav server 3. In the username field, enter a username including an @ symbol. I used "carol@infoglobe.ca" 4. Click OK, and then enable the tickbox next to the calendar you just created in the calendar list. 5. Enter the credentials, and wait for the box to become unticked again. 6. Right click the calendar and select Properties. What I entered: http://orospakr.ca/stuff/caldav_at_entry_time.png Actual results: What I saw after I tried connecting: http://orospakr.ca/stuff/caldav_afterwards.png Expected results: The calendar should load, and the account settings in the Calendar Properties screen should not change. Does this happen every time? It appears to, however the URI string is permutated differently every attempt I attempt to recreate the CalDav account. An example: caldav://infoglobe.ca@infoglobe.c@infoglobe.@infoglobe@infoglob@infoglo@infogloe@infoglo@infogl@infog@info@inf@in@i@@mail.local Other information:
*** Bug 545400 has been marked as a duplicate of this bug. ***
*** Bug 497278 has been marked as a duplicate of this bug. ***
*** Bug 447507 has been marked as a duplicate of this bug. ***
Incidentally this bug breaks google's new caldev support for their calendar application as their username requires an "@" symbol.
*** Bug 547588 has been marked as a duplicate of this bug. ***
*** Bug 549446 has been marked as a duplicate of this bug. ***
*** Bug 508115 has been marked as a duplicate of this bug. ***
Created attachment 118313 [details] [review] proposed eds patch for evolution-data-server; The fix came to the root function in eds, thus everywhere where used it'll be fixed now on.
Created attachment 118314 [details] [review] proposed evo patch (trivial) for evolution; not necessary to be used here, just a little cleanup.
evo patch committed to trunk. Committed revision 36821. Please review someone the eds part, it's not the calendar thing at all.
Commit it Milan.
eds part committed to trunk. Committed revision 9789.
*** Bug 545406 has been marked as a duplicate of this bug. ***