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

[fix] Diagnosis: reverse DNS check should be case-insensitive #2235 #1705

Merged
merged 1 commit into from
Aug 31, 2023

Conversation

zamentur
Copy link
Member

The problem

YunoHost/issues#2235

Solution

Use lower and assume that r["helo"] is always a string

PR Status

Untested, but micro

How to test

...

@zamentur zamentur added the micro Micro decision label Aug 25, 2023
@@ -132,7 +132,7 @@ def check_ehlo(self):
summary=summary,
details=[summary + "_details"],
)
elif r["helo"] != self.ehlo_domain:
elif r["helo"].lower() != self.ehlo_domain:
Copy link
Member Author

Choose a reason for hiding this comment

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

Are we sure r["helo"] is always a string ?

@alexAubin alexAubin merged commit f895f99 into dev Aug 31, 2023
2 checks passed
@alexAubin alexAubin deleted the fix-2235 branch August 31, 2023 15:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
micro Micro decision
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants