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

When should a token be a quoted string? #6

Closed
marcbradshaw opened this issue Aug 17, 2023 · 1 comment · Fixed by #7 or fastmail/Mail-AuthenticationResults#2
Closed

When should a token be a quoted string? #6

marcbradshaw opened this issue Aug 17, 2023 · 1 comment · Fixed by #7 or fastmail/Mail-AuthenticationResults#2
Assignees

Comments

@marcbradshaw
Copy link
Owner

ref: lieser/dkim_verifier#242 (comment)

The value for policy.authority-uri contains characters that are not allowed in a simple token, so it must be in quotes to be a quoted-string (https://www.rfc-editor.org/rfc/rfc2045#section-5.1 contains the definition for value which is used by ARH here).

@marcbradshaw marcbradshaw self-assigned this Aug 17, 2023
@marcbradshaw
Copy link
Owner Author

From the referenced RFC

tspecials := "(" / ")" / "<" / ">" / "@" /
"," / ";" / ":" / "" / <">
"/" / "[" / "]" / "?" / "="
; Must be in quoted-string,
; to use within parameter values

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