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

issue #147 - Recognize GTUBE string as test spam #148

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

sidney
Copy link

@sidney sidney commented Jan 10, 2023

Details are in issue #147

Comment on lines +93 to +96
# Any email containing the GTUBE pattern will be forced to the same digest hash
if self.gtube_pattern in line:
lines = [self.gtube_pattern.encode("utf8", "ignore")]
break
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is it useful to do this per line ?
why not
if self.gtube_pattern in payload:

Copy link

@bitsikas bitsikas Sep 6, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

or even
payload.find(self.gtube_pattern)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants