Bug 113708 - Kwallet name only accepts alphanumeric characters, excluding Turkish chars
Summary: Kwallet name only accepts alphanumeric characters, excluding Turkish chars
Status: RESOLVED FIXED
Alias: None
Product: kdelibs
Classification: Frameworks and Libraries
Component: kwallet (show other bugs)
Version: unspecified
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: kdelibs bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-02 10:57 UTC by Görkem Çetin
Modified: 2008-11-16 20:15 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Görkem Çetin 2005-10-02 10:57:41 UTC
Version:            (using KDE KDE 3.4.2)
Installed from:    Fedora RPMs
OS:                Linux

If I want to give a new name for a wallet, it only accepts alphanumeric chars stated as regexp below:

^[A-Za-z0-9]+[A-Za-z0-9_\\s\\-]*$ 

And if it does not match, comes up with showing:

"Please choose a name that contains only alphanumeric characters:" 

However, with this regexp we cannot use Turkish characters, and end users are confused with it.
Comment 1 George Staikos 2005-11-13 17:58:40 UTC
Any suggestions on how to change this and still keep it safe?
Comment 2 Ismail Donmez 2005-11-13 18:03:35 UTC
Ah we are in string freeze but we can say "ASCII letters only"
Comment 3 George Staikos 2005-11-13 20:29:02 UTC
On Sunday 13 November 2005 12:03, ismail  donmez wrote:

> ------- Ah we are in string freeze but we can say "ASCII letters only"


  Strings aren't an issue.  Let's just deal with the regexp.  I want a 
whitelist, not a blacklist.
Comment 4 Michael Leupold 2008-11-16 20:15:57 UTC
SVN commit 885210 by mleupold:

Allow UTF-8 strings as wallet names.

BUG: 113708


 M  +2 -2      kdebase/runtime/kwalletd/kwalletd.cpp  
 M  +6 -12     kdeutils/kwallet/kwalletmanager.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=885210