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

Case sensitivity of envelope test #6

Open
rad4day opened this issue Feb 11, 2024 · 0 comments
Open

Case sensitivity of envelope test #6

rad4day opened this issue Feb 11, 2024 · 0 comments

Comments

@rad4day
Copy link

rad4day commented Feb 11, 2024

According to RFC 5227 Section 5.4, the envelope test is case-insensitive in the envelope-part strings.

During testing with stalwart-mail, I encountered that

  envelope :contains "to" "test@example.com"

is a valid test string while

  envelope :contains "To" "test@example.com"

is rejected with

CHECKSCRIPT failed: NO "Invalid envelope \"To\" at line 14, column 19."

Relevant code around src/compiler/lexer/string.rsL326

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

No branches or pull requests

1 participant