Commit 6d71a90
Update lib/Conversion/ConversionProvider.php
Confirmed: with the tryOpen=false change applied, the conversion is blocked with the translated "Conversion is blocked because the file is protected by Secure View." message in the log, instead of the ForbiddenException 500 that occurs with the default tryOpen=true (because fopen() on the SecureView wrapper throws). Accepting the suggestion. Thanks!
Co-authored-by: Elizabeth Danzberger <elizabeth@elzody.dev>
Signed-off-by: Christoph Schaefer <christoph.schaefer@nextcloud.com>1 parent 0edc505 commit 6d71a90
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
152 | 152 | | |
153 | 153 | | |
154 | 154 | | |
| 155 | + | |
155 | 156 | | |
156 | 157 | | |
157 | 158 | | |
| |||
0 commit comments