We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dcd9ee6 commit d0d4cefCopy full SHA for d0d4cef
mailbox.go
@@ -16,7 +16,7 @@ const InboxName = "INBOX"
16
// case-sensitive or case-insensitive depending on the backend implementation.
17
// The special INBOX mailbox is case-insensitive.
18
func CanonicalMailboxName(name string) string {
19
- if strings.ToUpper(name) == InboxName {
+ if strings.EqualFold(name, InboxName) {
20
return InboxName
21
}
22
return name
0 commit comments