accumulo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Medinets (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ACCUMULO-241) Visibility labels should blacklist non-ASCII characters instead of whitelisting select ASCII characters
Date Wed, 04 Jan 2012 21:51:40 GMT

    [ https://issues.apache.org/jira/browse/ACCUMULO-241?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13179925#comment-13179925
] 

David Medinets commented on ACCUMULO-241:
-----------------------------------------

If y'all decide to quote, please consider implementing ruby's alternate quote syntax. Using
alternative syntax can make strings more readable. See more information at http://en.wikibooks.org/wiki/Ruby_Programming/Alternate_quotes.


You can alleviate the 'A&B' issue if the syntax is AND(A,B) instead of the single-character
&. Granted, this is not want must programmers would want to see, though.
                
> Visibility labels should blacklist non-ASCII characters instead of whitelisting select
ASCII characters
> -------------------------------------------------------------------------------------------------------
>
>                 Key: ACCUMULO-241
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-241
>             Project: Accumulo
>          Issue Type: Improvement
>    Affects Versions: 1.3.5
>            Reporter: John Vines
>              Labels: visibility
>             Fix For: 1.3.6
>
>
> We currently whitelist our visibility labels to only allow alphanumerics and a few select
delimiting characters. While we strive for human-readable labels, we should instead utilize
a blacklist approach where we disallow parentheses, ampersands, pipes, and any non-ASCII characters.
This will provide users with more flexibility in labeling, while still sticking to human readability.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message