Bug 320021

Summary: kaddressbook loses case of email local part when importing from vCard file
Product: [Applications] kaddressbook Reporter: Thomas Bleher <ThomasBleher>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: montel, tokoe
Priority: NOR    
Version: 4.10   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In: 4.11

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