-
Notifications
You must be signed in to change notification settings - Fork 85
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
Don't block invites containing web_client_location
when using "http" in the keyword block list.
#545
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's a bit hacky but I can't think of a better alternative that allows us to filter out undesirable web_client_location
URLs.
Thanks for writing a test!
invite_client_location
when using "http" in the keyword block list.web_client_location
when using "http" in the keyword block list.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm!
Thanks! Merged. |
It appears that when "http" is used in the keyword blocklist legitimate invites are being dropped if the invite contains an
org.matrix.web_client_location
. This pr attempts to resolve that by allowing the invite in the case thatorg.matrix.web_client_location
is provided and the blocked keyword is http or https. Fixes #540.