Rocket.Chat.ReactNative icon indicating copy to clipboard operation
Rocket.Chat.ReactNative copied to clipboard

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

Open konradziczek opened this issue 2 months ago • 3 comments

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 RocketChat/Rocket.Chat.ReactNative#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

konradziczek avatar Nov 10 '25 10:11 konradziczek

Tested on 7.12.1 - the problem still exists.

// EDIT: I got a message from my teammate that the Android app causes the same bug.

konradziczek avatar Nov 10 '25 12:11 konradziczek

IS THIS ISSUE SOLVED I CAN IMPROVE IT By..... if @konradziczek approves assign within 1 WEEKS {WORKING NOW}

SDV96 avatar Nov 10 '25 18:11 SDV96

This issue is being handled by Internal Team

Rohit3523 avatar Nov 10 '25 18:11 Rohit3523