[bug] Wrong URL encoding for CalDAV / CardDAV

asked 2015-08-23 14:25:11 +0300

olesalscheider gravatar image

updated 2015-08-23 18:28:10 +0300

Yo gravatar image

The CalDAV / CardDAV client does not encode URLs properly. They seem to be encoded twice so that for example, @ becomes %2540 instead of %40. This is a problem when the user name contains an @. For me, the client tries to access

/card.php/principals/user%2540server/

when it should access

/card.php/principals/user%40server/ (i.e. the encoded form of /card.php/principals/user@server/)

edit retag flag offensive close delete

Comments

@Chris.adams to the rescue? ;)

Yo ( 2015-08-23 18:28:22 +0300 )edit

I think this should already be fixed, although hasn't been released yet.

See https://github.com/nemomobile/buteo-sync-plugin-carddav/commit/e8e53d1d510d64526c9b51c7d5316388482473d7 for carddav, which will be released with buteo-sync-plugins-carddav version 0.0.18

See https://github.com/nemomobile/buteo-sync-plugin-caldav/commit/cf232b3fcfcc7c7002fed1e7f2b1f8422fcc6e06 for caldav, which will be released with buteo-sync-plugins-caldav version 0.1.29 I believe.

If you have these versions and still suffer these problems, please send an email to chris dot adams at jolla dot com and I will investigate further.

Thanks, Chris.

chris.adams ( 2015-08-24 10:03:20 +0300 )edit