Skip to content

bug: Quoting a message with a photo in iOS breaks encryption and stops web clients from loading messages #6783

@konradziczek

Description

@konradziczek

Describe the Bug

When you send an image while quoting someone’s message in an encrypted team, the iOS client sends the msg field as plain text (! unencrypted !), likely truncated at the newline character. This causes base64 decoding errors in browsers and prevents web clients from continuing to use the channel. More technical details about this can be found in issue #6817. I created two separate issues because the server side requires validation of incoming data, while the iOS application needs a fix for the described bug.

Steps to Reproduce

In the RocketChat iOS client, you need to quote someone’s message and attach a photo from the phone’s gallery as your own text.

Expected Behavior

No response

Actual Behavior

I prepared a short video demonstrating the bug:
https://www.youtube.com/shorts/zdxIQAOWQg8

Rocket.Chat Server Version

7.12.0

// EDIT: after update to 7.12.1 the problem still exists

Rocket.Chat App Version

4.66.1.107672

Device Name

iPhone 17

OS Version

iOS 26.1

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    TaskedAdded to the internal issue tracking🐛 bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions