Skip to content

Conversation

@backportbot
Copy link

@backportbot backportbot bot commented Sep 25, 2025

Backport of #55134

Warning, This backport's changes differ from the original and might be incomplete ⚠️

Todo

  • Review and resolve any conflicts
  • Remove all the empty commits

Learn more about backports at https://docs.nextcloud.com/server/stable/go.php?to=developer-backports.

@backportbot backportbot bot added bug 3. to review Waiting for reviews labels Sep 25, 2025
@backportbot backportbot bot added this to the Nextcloud 30.0.16 milestone Sep 25, 2025
$this->cache->set('tmpAvatar', $image->data(), 7200);
return new JSONResponse(
['data' => 'notsquare'],
['data' => 'notsquare', 'image' => 'data:' . $mimeType . ';base64,' . base64_encode($image->data())],

Check notice

Code scanning / Psalm

PossiblyNullArgument Note

Argument 1 of base64_encode cannot be null, possibly null value provided
Signed-off-by: provokateurin <kate@provokateurin.de>
Signed-off-by: provokateurin <kate@provokateurin.de>
@provokateurin provokateurin force-pushed the backport/55134/stable30 branch from daedf12 to e120bb0 Compare September 26, 2025 17:35
@provokateurin provokateurin marked this pull request as ready for review September 26, 2025 17:35
@provokateurin provokateurin merged commit fb133bc into stable30 Sep 27, 2025
195 of 201 checks passed
@provokateurin provokateurin deleted the backport/55134/stable30 branch September 27, 2025 14:35
@blizzz blizzz mentioned this pull request Oct 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants