Bug 303767 - Unable to enter email address for new key because "-" is not accepted
Summary: Unable to enter email address for new key because "-" is not accepted
Status: RESOLVED FIXED
Alias: None
Product: kleopatra
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-18 21:25 UTC by S. Burmeister
Modified: 2012-07-19 15:53 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In: 4.9
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description S. Burmeister 2012-07-18 21:25:28 UTC
Kleopatra 2.1.1 4.9 beta: If I want to create a new key I cannot enter my email address because it includes an "-" which kleopatra does not accept as input.

Reproducible: Always
Comment 1 Laurent Montel 2012-07-19 06:10:49 UTC
an address with "-" ?
Comment 2 S. Burmeister 2012-07-19 07:32:19 UTC
Yep. Something like: username@linux-kde.org

Kleopatra does not allow the "-" in-between linux and kde.

It does accept it in the username, e.g. something like user-name@linuxkde.org.
Comment 3 Laurent Montel 2012-07-19 08:04:21 UTC
Ok will look at it
Comment 4 Allen Winter 2012-07-19 12:17:54 UTC
Laurent,
A patch for fixing this has already been posted on reviewboard.

Please see:
https://git.reviewboard.kde.org/r/102579/

I took a quick look at this a long time ago but then forgot about it.
Comment 5 Laurent Montel 2012-07-19 13:07:30 UTC
ok will look at it.
Comment 6 Laurent Montel 2012-07-19 15:53:23 UTC
Git commit debf3a203296f1354001b8412ba6b073b6a873fd by Montel Laurent.
Committed on 19/07/2012 at 16:34.
Pushed by mlaurent into branch 'KDE/4.9'.

Fix Bug 303767 - Unable to enter email address for new key because "-"

is not accepted
Patch from Julian Bäume posted in september 2011

FIXED-IN: 4.9
Related: bug 260371

M  +6    -4    kleopatra/utils/validation.cpp

http://commits.kde.org/kdepim/debf3a203296f1354001b8412ba6b073b6a873fd