Files
swift-nio-imap/Sources/NIOIMAPCore/Parser
Daniel Eggert d92510a699 Reject invalid URLAUTH mechanisms
`.resetKey(mailbox: .inbox, mechanisms: [.init("X\r\nA2 DELETE INBOX")])`
was written verbatim, injecting a command into RESETKEY / GENURLAUTH.

RFC 4467: `mechanism = "INTERNAL" / 1*(ALPHA / DIGIT / "-" / ".")`.
`init(_:)` becomes `init?(_:)`; literals trap on invalid input. The
parser already enforces the production.
2026-10-24 11:36:51 +02:00
..
2026-10-24 11:36:51 +02:00
2020-10-26 09:54:46 +00:00