Skip to content

fix(parser): accept atom chars in command names - #9

Merged
andris9 merged 1 commit into
masterfrom
fix/command-atom
Oct 7, 2026
Merged

andris9 merged 1 commit into
masterfrom
fix/command-atom

Conversation

@andris9

@andris9 andris9 commented Oct 7, 2026

Copy link
Copy Markdown
Collaborator

Command names are atoms (RFC 3501 section 9: x-command = "X" atom, auth-type = atom), so X-FOO.BAR and AUTHENTICATE PLAIN-CLIENTTOKEN now parse. Atom-specials and 8-bit octets are still refused. Closes #1.

🤖 Generated with Claude Code

RFC 3501 section 9 defines x-command as "X" atom and auth-type as atom,
so names like X-FOO.BAR or AUTHENTICATE PLAIN-CLIENTTOKEN are valid.
Closes #1

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@andris9
andris9 merged commit 3d0af6d into master Oct 7, 2026
5 checks passed
@andris9
andris9 deleted the fix/command-atom branch October 7, 2026 11:26
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.

IMAP command syntax - Incomplete character subset

1 participant