Skip to content
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

CardDAV REPORT /{addressbook} UID malformed #648

Open
kurbar opened this issue Dec 9, 2018 · 2 comments
Open

CardDAV REPORT /{addressbook} UID malformed #648

kurbar opened this issue Dec 9, 2018 · 2 comments

Comments

@kurbar
Copy link

kurbar commented Dec 9, 2018

Steps to reproduce

  1. Enable Contacts
  2. Create a contact via Owncloud web interface in your addressbook
  3. Try to download all contacts from the given addressbook via CardDAV REPORT

Expected behaviour

I'm able to download correct VCARD objects.

Actual behaviour

UID field in VCARD object is malformed

REPORT /remote.php/carddav/addressbooks/admin/contacts/5e478a41-c819-476a-b383-e15fa7b68482.vcf
...
BEGIN:VCARD
VERSION:3.0
FN:Ivan Smetchejov
UI5e478a41-c819-476a-b383-e15fa7b68482
TEL;TYPE=HOME,VOICE:56123123
REV:20181207T131456Z
ENVCARD

Server configuration

Operating system: Docker

Web server: Docker

Database: Mysql

PHP version: 7.2

ownCloud version: 10.0.10.4

Updated from an older ownCloud or fresh install: fresh install

Where did you install ownCloud from: DockerHub

Signing status (ownCloud 9.0 and above):

Login as admin user into your ownCloud and access 
http://example.com/index.php/settings/integrity/failed 
paste the results into https://gist.github.com/ and puth the link here.

https://gist.github.com/kurbar/32d21ecc714bc1313c0b471bebf1480a

The content of config/config.php:
https://gist.github.com/kurbar/da7bcaf31c8b3402b334efe9738cc3df

Are you using external storage, if yes which one: no
Are you using encryption: no

Are you using an external user-backend, if yes which one: no

@Julian1998
Copy link
Contributor

Are there any logs in the browser console?

@kurbar
Copy link
Author

kurbar commented Dec 9, 2018

@Julian1998 No browser logs. The VCard object is from the raw xml response through Postman. Also no errors from server side, only 207 response logs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants