diff options
author | Claudio Cambra <developer@claudiocambra.com> | 2024-10-27 19:37:25 +0800 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2024-10-28 08:29:16 +0100 |
commit | 5969b4bea84f82965edb0298f274b23c678858c8 (patch) | |
tree | b2745889a452fd0ca77400fe36a447c683cc5ff7 /tests/lib/TextProcessing/TextProcessingTest.php | |
parent | e6c11e1be09a13b13df0371b2cff56656c93d4da (diff) | |
download | nextcloud-server-5969b4bea84f82965edb0298f274b23c678858c8.tar.gz nextcloud-server-5969b4bea84f82965edb0298f274b23c678858c8.zip |
fix(appsmanagement): Fix exception on generating preview url for screenshots
Some installed apps meant for older server versions might unexpectedly
offer up screenshot values in a non-string format (e.g. health). Avoid
an exception by checking first if the first app screenshot is indeed a
string and otherwise we take the value of the parameter
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
Diffstat (limited to 'tests/lib/TextProcessing/TextProcessingTest.php')
0 files changed, 0 insertions, 0 deletions