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:29:40 GMT

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

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

Doh! For some reason I kept not seeing the word 'visibility'. Now I understand what labels
are being discussed. Would it make sense to use syntax like NOT(FOO) instead of !FOO in labels.
Using function-based syntax (if that terminology makes sense) reduces the need for fiddly
single-character flags and should be more readable. It also leaves the door open for an extensible
mechanism whereby keywords can be attached to user-supplied functionality.
                
> 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