forked from owncloud/ocis
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Return 403 instead of 500 when the image is too large (in dimensions or file size). Fixes: owncloud#10589
- Loading branch information
Showing
2 changed files
with
24 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
Bugfix: Fix status code for thumbnail requests | ||
|
||
We fixed the status code returned by the thumbnails service when the image | ||
source for a thumbnail exceeds the configured maximum dimensions or file size. | ||
The service now returns a 403 Forbidden status code instead of a 500 Internal | ||
Server Error status code. | ||
|
||
https://github.com/owncloud/ocis/pull/10592 | ||
https://github.com/owncloud/ocis/issues/10589 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters