Red Hat Bugzilla – Bug 822951
Relax restrictions on key names
Last modified: 2015-05-14 20:51:22 EDT
Dan and I had a long discussion about the ideal experience for keys. What we "want" for users is for them to be able to give each key a unique name that is fairly recognizable. The limitations on key name are too restrictive at this point because you cannot use spaces, dashes, or underscores (all valid filesystem characters) to distinguish your names.
I suggest we allow the following range of characters
the majority of unicode "word" letters (i.e. other character sets)
left and right brackets
left and right parenthesis
left and right curly braces
Clients are responsible for serializing and deserializing these to the filesystem. Backends should not use the exact key name on disk (should sanitize).
Currently we are testing our broker code on ruby-1.8 and ruby 1.8 version DOESN'T have full support for character encoding. Only Regex engine has UTF-8 support and we can work around using 'jcode' ruby library. But the ruby 1.9 version has support for character encoding and it may not be worth solving this issue on ruby 1.8 version.
We already have a user story [US2368] to move current broker code to Ruby 1.9 and Rails 3.2. Once this story is completed, we can tackle this issue.
*** Bug 794506 has been marked as a duplicate of this bug. ***
Please convert this to a story so we can prioritize it in the backlkog. Once the story is created, please close this bug with the US number.
- Bug Triage Meeting
Created US3026 to address this issue.