Files
swift-nio-imap/Sources/NIOIMAPCore
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-08-29 09:23:34 +02:00
2026-10-24 11:36:51 +02:00
2026-10-24 11:36:51 +02:00
2026-07-07 11:37:57 +02:00
2026-07-07 11:37:57 +02:00