mirror of
https://github.com/cypht-org/cypht.git
synced 2026-04-25 13:05:53 +03:00
[GH-ISSUE #165] Duplicate INBOX in IMAP folder tree (one all caps + one other) #135
Labels
No labels
2fa
I18N
PGP
Security
Security
account
advanced_search
advanced_search
announcement
api_login
authentication
awaiting feedback
blocker
bug
bug
bug
calendar
config
contacts
core
core
devops
docker
docs
duplicate
dynamic_login
enhancement
epic
feature
feeds
framework
github
github
gmail_contacts
good first issue
help wanted
history
history
imap
imap_folders
inline_message
installation
keyboard_shortcuts
keyboard_shortcuts
ldap_contacts
mobile
need-ssh-access
new module set
nux
pop3
profiles
pull-request
question
refactor
release
research
saved_searches
smtp
strategic
tags
tests
themes
website
wordpress
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/cypht#135
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @jchevali on GitHub (Feb 7, 2017).
Original GitHub issue: https://github.com/cypht-org/cypht/issues/165
Originally assigned to: @jasonmunro on GitHub.
I'm seeing duplicate Inboxes for some IMAP providers, where the Inbox name as listed by the server isn't all capitals.
E.g., imap.mail.yahoo.com calls their inbox "Inbox" (mixed case), as a result I see INBOX and Inbox in the tree.
Also, mail.net-c.com calls their inbox "inbox" (lower case), as a result I see INBOX and inbox in the tree.
As I hover over these, the URL link list_path is different, though they contain the same messages.
@jasonmunro commented on GitHub (Feb 7, 2017):
Hello!
Thanks for the feedback on this. I'm not seeing this problem, so that's weird. IIRC, the code automatically inserts an all caps INBOX if none is returned, since IMAP servers are required to have at least an inbox folder. Seem likely this code is the culprit, but I can't yet explain why this is not happening to me. Could you tell me what version of PHP you are using? Just want to rule out a version issue.
Thanks!
@jasonmunro commented on GitHub (Feb 7, 2017):
Oh wait, I'm stupid. I do have a yahoo account and it shows the same problem you are seeing, I just never use that account much and never noticed. Working on a fix now. Thanks again!
@jasonmunro commented on GitHub (Feb 7, 2017):
Fixed in
github.com/jasonmunro/cypht@daf75c0e31