View Issue Details

IDProjectCategoryView StatusLast Update
0004241SOGowith SOGopublic2017-08-09 11:24
Reporterzden2k Assigned To 
PrioritynormalSeverityminorReproducibilityhave not tried
Status newResolutionopen 
Platform[Client] GoogleOSAndroidOS VersionJelly Bean
Product Version3.2.8 
Summary0004241: Wrong caldav function in conjuction with spaces in calendar name
Description

Hello,
one of our calendar user reported us, that CalDAV-Sync on Android is malfunctioning with SOGo calendars
which have a space inside name. He attached this log.

Here is:

20170726T151754Z I org.dmfs.caldav.autheticator.AuthenticatorActivity
calendar discovery log:
20170726T151755Z V org.dmfs.dav.Dav get principal /.well-known/caldav
20170726T151755Z V org.dmfs.dav.Dav following redirect to
https://kalendar.nic.cz/SOGo/dav
20170726T151755Z I org.dmfs.dav.Dav found principal: /SOGo/dav/ondrej/
20170726T151755Z V org.dmfs.dav.CalDav get calendars
https://kalendar.nic.cz/SOGo/dav/ondrej/
20170726T151755Z V org.dmfs.dav.CalDav found calendar-proxy-read-for:
'/SOGo/dav/zasedacka%200p%20CZNIC/'
20170726T151755Z V org.dmfs.dav.CalDav found calendar-proxy-read-for:
'/SOGo/dav/zasedacka%202p%20LABS/'
20170726T151755Z V org.dmfs.dav.CalDav found calendar-proxy-read-for:
'/SOGo/dav/zasedacka%203p%20DEV-ADMIN/'
20170726T151755Z V org.dmfs.dav.CalDav found calendar-proxy-read-for:
'/SOGo/dav/parkovani%201%20milesovska/'
20170726T151755Z V org.dmfs.dav.CalDav found calendar-proxy-read-for:
'/SOGo/dav/parkovani%202%20milesovska/'
20170726T151755Z V org.dmfs.dav.CalDav found calendar user address
mailto :o ndrej.sury%40nic.cz
20170726T151755Z V org.dmfs.dav.CalDav found calendar user address
/SOGo/dav/ondrej/
20170726T151755Z V org.dmfs.dav.CalDav get calendars
https://kalendar.nic.cz/SOGo/dav/parkovani%201%20milesovska/
20170726T151755Z I org.dmfs.caldav.autheticator.AuthenticatorActivity can't
find calendars
java.lang.IllegalArgumentException: The server returned an improperly
encoded url: '/SOGo/dav/parkovani 1 milesovska/Calendar/'
Please report!
at org.dmfs.dav.d.b.a(Unknown Source)
at org.dmfs.dav.d.m.endElement(Unknown Source)
at org.dmfs.dav.d.j.endElement(Unknown Source)
at org.apache.harmony.xml.ExpatParser.endElement(ExpatParser.java:156)
at org.apache.harmony.xml.ExpatParser.appendBytes(Native Method)
at org.apache.harmony.xml.ExpatParser.parseFragment(ExpatParser.java:513)
at org.apache.harmony.xml.ExpatParser.parseDocument(ExpatParser.java:474)
at org.apache.harmony.xml.ExpatReader.parse(ExpatReader.java:316)
at org.apache.harmony.xml.ExpatReader.parse(ExpatReader.java:279)
at org.dmfs.dav.c.i.a(Unknown Source)
at org.dmfs.dav.t.a(Unknown Source)
at org.dmfs.dav.b.a(Unknown Source)
at org.dmfs.dav.b.a(Unknown Source)
at org.dmfs.dav.b.a(Unknown Source)
at org.dmfs.dav.b.b(Unknown Source)
at org.dmfs.caldav.authenticator.f.run(Unknown Source)
App: org.dmfs.caldav.lib
App version: 0.4.32
OS version: 25
OS Info: google/bullhead/bullhea d: 7.1.2/N2G47Z/4045513:user/release-keys
Manufacturer: LGE
Date: Wed Jul 26 17:17:56 GMT+02:00 2017

Thank you for looking.

TagsNo tags attached.

Activities

Christian Mack

Christian Mack

2017-08-09 11:22

developer   ~0012160

Last edited: 2017-08-09 11:24

That part is not the calendar name.
It is the user ID logging in.

I do not think, that whitespace is allowed in user IDs.
Even the standard for emails only allows space characters in the local part within quotes (and that part of the standard is not used/respected by most SMTP servers).

Issue History

Date Modified Username Field Change
2017-08-01 14:57 zden2k New Issue
2017-08-09 11:22 Christian Mack Note Added: 0012160
2017-08-09 11:24 Christian Mack Note Edited: 0012160