Skip to content

Conversation

@st3iny
Copy link
Member

@st3iny st3iny commented Jan 15, 2024

  • Resolves: none

Summary

The ExifProvider does not check if the given $file can be read before attempting to extract metadata. I improved the code a bit by only calling getimagesizefromstring if $file->getContent() is not false.

Checklist

@st3iny st3iny added bug 3. to review Waiting for reviews labels Jan 15, 2024
@st3iny st3iny added this to the Nextcloud 26.0.11 milestone Jan 15, 2024
@st3iny st3iny requested review from artonge and skjnldsv January 15, 2024 08:25
@st3iny st3iny self-assigned this Jan 15, 2024
@blizzz blizzz mentioned this pull request Jan 15, 2024
@st3iny st3iny force-pushed the fix/exif-content-provider-stable26 branch from 8f0ab22 to 84408cd Compare January 15, 2024 10:21
@blizzz blizzz merged commit 679b10a into stable26 Jan 15, 2024
@blizzz blizzz deleted the fix/exif-content-provider-stable26 branch January 15, 2024 16:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants