FossifyOrg / Messages

An easy and quick way of managing SMS and MMS messages without ads.
https://www.fossify.org
GNU General Public License v3.0
415 stars 29 forks source link

Message with Blocked Keyword Got Through #99

Open Astronox opened 4 months ago

Astronox commented 4 months ago

Checklist

Affected app version

1.0.1

Affected Android/Custom ROM version

GrapheneOS Uq1A.240205.004.2024020500

Affected device model

Pixel 8

How did you install the app?

F-Droid / IzzyOnDroid

Steps to reproduce the bug

The text that should have been blocked was a political text. The keyword that should have been blocked was "stop=end". I suspect the message got through because it was sent with an image.

Testing with friends revealed that: -The original text only contents of the political text were blocked when sent by a friend. -The SMS character limit is not a factor, the keyword was blocked when at the beginning of a short text and at the end of a long text.

Unfortunately, I forgot to ask them to send the text with an image, so I haven't tested MMS (and I'm a little hesitant to keep bothering my friends with this). Steps to reproduce are most likely: 1) Set a keyword to block (in this case "stop=end") 2) Have another party send an MMS with an image and the keyword 3) MMS should still be delivered with a text that should have been blocked.

Expected behavior

Expected behavior is that any text message, SMS or MMS, image or not, should be blocked if it contains a keyword. (As a side note, it would be nice to have the option to allow texts that do contain keywords through if they are sent by someone in your contacts).

Actual behavior

A text message with a blocked keyword was received.

Screenshots/Screen recordings

Evidence of blocked message (sent by a friend) IMG_20240216_163551

Screenshot of message that was blocked (sent by a friend) IMG_20240216_163703

Screenshot of the original text only version of the message being blocked, "Hello World" was sent after the original text message was sent. I sent them the original contents of the text, they just copied it and sent it back. It was blocked. (sent by a friend) IMG_20240216_170010

Message failed to block (sent by political organization) IMG_20240216_170309

Additional information

No response

Aga-C commented 4 months ago

I can confirm that MMS is not blocked.

CaseOf commented 3 months ago

phone numbers blocked are affected by this bug too

naveensingh commented 3 months ago

@CaseOf are you saying MMS from blocked phone numbers is not blocked?

CaseOf commented 3 months ago

@CaseOf are you saying MMS from blocked phone numbers is not blocked?

on sms, I’m still getting notifications, but when opening the app, the message disappear.

Astronox commented 3 months ago

I understand this is a feature request, so it should probably get its own post, but would it be possible to allow your contacts to act as a whitelist? That way in case someone I know sends me a blocked keyword I can still see it.

Aga-C commented 3 months ago

I understand this is a feature request, so it should probably get its own post, but would it be possible to allow your contacts to act as a whitelist? That way in case someone I know sends me a blocked keyword I can still see it.

You can create a new feature request for this.

slhale commented 1 month ago

I also have been getting this bug. I installed this messages app instead of my phone default because of the keyword blocking, but I constantly still get political messages like this despite them containing keywords that I have blocked. Also, I don't know how to check whether some are getting successfully blocked or not because I don't believe there is any indication in the app if I would have received a message but it was blocked.