Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Block list filter including [word] filters everything #398

Open
4 tasks done
ghtesting2020 opened this issue Oct 21, 2024 · 3 comments
Open
4 tasks done

Block list filter including [word] filters everything #398

ghtesting2020 opened this issue Oct 21, 2024 · 3 comments
Labels
Type: Possible bug Issues that seem to be a bug, but haven't been confirmed yet

Comments

@ghtesting2020
Copy link

Checklist

  • I have used the search function for OPEN issues to see if someone else has already submitted the same bug report.
  • I have also used the search function for CLOSED issues to see if the problem is already solved and just waiting to be released.
  • I will describe the problem with as much detail as possible.
  • If the bug only to occurs with a certain feed, I will include the URL of that feed.

App version

2.6.33

Where did you get the app from

F-Droid

Android version

15

Device model

No response

First occurred

No response

Steps to reproduce

  1. create block list word like: [review]

Expected behaviour

only items with the matching word in this case "[review]" should be filtered like an item with the title
"[review] samsung galaxy" should be blocked. it does not seem to be because of the word review, you can put anything. Something do with the open and close square bracket breaks filter.

Current behaviour

everything gets filtered whether it has "[review]" in the title or not

Logs

No response

@ghtesting2020 ghtesting2020 added the Type: Possible bug Issues that seem to be a bug, but haven't been confirmed yet label Oct 21, 2024
@spacecowboy
Copy link
Owner

Working as designed. The brackets are special. See https://www.sqlitetutorial.net/sqlite-glob/

feeder will add * to start and end as well

@ghtesting2020
Copy link
Author

Working as designed. The brackets are special. See https://www.sqlitetutorial.net/sqlite-glob/

feeder will add * to start and end as well

Is there a workaround? Titles having square brackets are not that uncommon. I still am not understanding how for example
"[Review]" even if it had a * at begin and end would block the world "politics"? In sql.* just means anything/all BUT it would also include what comes after?
So [review] should not block "engine"?

@spacecowboy
Copy link
Owner

Because [review] means: any of the letters r-e-v-i-w. And politics has an i in it.
And engine contains an e and an i so would also be blocked.

To match literal brackets, my local AI friend suggested:

[[]review[]]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Possible bug Issues that seem to be a bug, but haven't been confirmed yet
Projects
None yet
Development

No branches or pull requests

2 participants