nextcloud/text

Failing preview generation results in 404 istead of original image

Open

#6,755 opened on Dec 8, 2024

 (6 comments) (0 reactions) (0 assignees)JavaScript (125 forks)auto 404
1. to developbuggood first issuephp

Repository metrics

Stars
 (644 stars)
PR merge metrics
 (PR metrics pending)

Description

Describe the bug We had some traces in Sentry:

Image

Image

Since we don't catch these they will be caught on the Controller Level which then sends a 404. We should return the raw image instead. In case of the trace here it was a png and could have been served fine.

Server details: cloud.nextcloud.com from 30.0.1.1 to 30.0.2.2 - probably longer.

Contributor guide