critical when testing new WebDav support on existing nextcloud account: g_uri_peek_scheme: assertion 'uri != NULL' failed
I've been testing gnome-online-accounts
master for the WebDav support (and apart of bumping into other undebuged issues), and two criticals on the form g_uri_peek_scheme: assertion 'uri != NULL' failed
. Those are coming from uri_encode_identity
in goawebprovider.c
, and seem to come from the fact that the available nextcloud configuration in my system (as seen below) does not have CalDavUri
, and CardDavUri
.
I would have simply sent a patch ignoring those, if it weren't because there's some other error with my nextcloud rejecting OPTIONS /login
, and cannot actually test if they're save to ignore, sorry for that.
The config:
[Account account_1645050502_0]
Provider=owncloud
Identity=REDACTED
PresentationIdentity=REDACTED
CalendarEnabled=true
ContactsEnabled=true
DocumentsEnabled=true
FilesEnabled=true
Uri=REDACTED
AcceptSslErrors=false
Also, I assumed that there is no user or maintainer action needed when porting the new WebDav provided, since there were no instructions provided in any of the MRs. Sorry for the noise if that's the case.