Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix getting IMAP vendor name #9654

Conversation

pabzm
Copy link
Member

@pabzm pabzm commented Sep 27, 2024

In some cases, the array's keys where upper case, and the previous code produced a warning and resulted in an empty string, even though the name was present.

Closes #9650

In some cases, the array's keys where upper case, and the previous code
produced a warning and resulted in an empty string, even though the
name was present.
@pabzm pabzm requested a review from alecpl September 27, 2024 07:51
@pabzm pabzm self-assigned this Sep 27, 2024
@pabzm pabzm linked an issue Sep 27, 2024 that may be closed by this pull request
2 tasks
@alecpl alecpl merged commit 6a7e96c into master Sep 29, 2024
30 of 32 checks passed
@alecpl
Copy link
Member

alecpl commented Sep 29, 2024

Maybe we should also normalize rcube_imap_generic::id() result, so it always returns keys in lower-case.

alecpl pushed a commit that referenced this pull request Sep 29, 2024
In some cases, the array's keys where upper case, and the previous code
produced a warning and resulted in an empty string, even though the
name was present.
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.

Undefined array key name encountered in get_vendor() function
2 participants