-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
DAV app returns raw contact image instead of URL #23345
Comments
The old contacts app was returning a url - yes - here is the code https://github.com/owncloudarchive/contacts/blob/master/lib/addressbookprovider.php#L162-L169 |
I need to think about on how to fix this in the future. @ChristophWurst with respect to the mail app as of today: as you can see there used to be a prefix given to the photo element: $j['data']['PHOTO'] = "VALUE=uri:$url"; The mail app code should check for this and only use the url is given |
And this is definitely something we should backport, right? @karlitschek |
yes. backport please |
once there is anything to be backported ... |
@DeepDiver1975 get to work ;) |
@DeepDiver1975 any update ? |
no time to look at this - sorry 😢 |
9.2 then? |
@georgehrke can you help with this ? |
sure :) |
@DeepDiver1975 One note about https://github.com/owncloud/core/blob/master/apps/dav/lib/CardDAV/AddressBookImpl.php Right now you assume that the URI is always $UID.vcf, but this is only optional behavior and not required. |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Steps to reproduce
Expected behaviour
'PHOTO' should be a valid URL for an image that can be used in the browser, e.g. contact images in the mail app.
Actual behaviour
'PHOTO' contains the raw image.
ownCloud version: (see ownCloud admin page)
9
That behavior changed when switching from the old contacts app to the new dav app and therefore breaks mail on oc9, see owncloud-archive/mail#1352 for a quick fix.
@DeepDiver1975 as discussed
The text was updated successfully, but these errors were encountered: