Skip to content

fix(delegation): load proxied images in shared mailboxes - #13706

Open
abhinavohri wants to merge 1 commit into
nextcloud:mainfrom
abhinavohri:fix/delegated-image-proxy
Open

abhinavohri wants to merge 1 commit into
nextcloud:mainfrom
abhinavohri:fix/delegated-image-proxy

Conversation

@abhinavohri

Copy link
Copy Markdown

Summary

The image proxy looked up messages under the viewing user, so delegated mailbox users received a 400 response for remote images. Resolve access for the message first, then use the account owner for the existing message lookup. The HMAC check remains unchanged.

Fixes #13438

Screenshots

After — delegated user

Nextcloud logo displayed in delegated message

Before — delegated user

Broken Nextcloud logo in delegated message

AI disclosure

  • The content of this PR was partly or fully generated using AI.

The image proxy checked message ownership against the viewing user, so delegates received 400 responses for remote images. Resolve access to the message first, then use the effective account owner for the existing lookup.

Assisted-by: Codex:gpt-5
Signed-off-by: Abhinav Ohri <abhinavohri13@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Image proxy returns 400 Bad Request for delegated/shared mailbox users (works fine for account owner)

1 participant