Skip to content

[stable24] fix(trashbin): Truncate long filenames - #38592

Merged
blizzz merged 1 commit into
stable24from
backport/38355/stable24
Jun 5, 2023
Merged

[stable24] fix(trashbin): Truncate long filenames#38592
blizzz merged 1 commit into
stable24from
backport/38355/stable24

Conversation

@backportbot-nextcloud

Copy link
Copy Markdown

backport of #38355

Signed-off-by: Christopher Ng <chrng8@gmail.com>
$trashFilename = substr_replace(
$trashFilename,
'',
$maxLength / 2,

Check failure

Code scanning / Psalm

InvalidScalarArgument

Argument 3 of substr_replace expects array<array-key, int>|int, float|int provided
@blizzz
blizzz merged commit 117a33d into stable24Jun 5, 2023
@blizzz
blizzz deleted the backport/38355/stable24 branch June 5, 2023 15:40
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@blizzz@Pytal@github-advanced-security