Bug 320021 - kaddressbook loses case of email local part when importing from vCard file
Summary: kaddressbook loses case of email local part when importing from vCard file
Status: RESOLVED FIXED
Alias: None
Product: kaddressbook
Classification: Applications
Component: general (show other bugs)
Version: 4.10
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-19 17:58 UTC by Thomas Bleher
Modified: 2013-06-14 06:37 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 4.11


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Bleher 2013-05-19 17:58:06 UTC
When importing an address from a vCard file, the email address is converted to lower case. This is wrong for several reasons:

- The local part of an email is case sensitive, so by converting to lower case, email might be sent to the wrong address.
- It makes it harder to see if the import was correct (by exporting the imported file and checking for diffs)
- It makes CamelCase email addresses harder to read.

Note that the domain part of an email address is case insensitive, so it may be converted to lower case. However, it seems easier to just leave the address as is.

Reproducible: Always

Steps to Reproduce:
1. Create vCard file with MixedCase email address
2. Add vCard file to KAddressBook

Actual Results:  
Email is displayed in KAddressBook in lower case

Expected Results:  
Email is displayed as entered into the vCard file
Comment 1 Thomas Bleher 2013-05-26 20:18:29 UTC
I realized that the issue is worse than I thought: KAddressBook doesn't let me input mixed case email addresses manually, either. If I enter a mixed case email address, it is automatically converted to lower case when closing the edit window. This worked properly in previous versions of KAddressBook, so it is a regression and should be fixed (IMHO).
Comment 2 Laurent Montel 2013-06-14 06:37:09 UTC
Fixed in 4.11