zookeeper-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benjamin Reed (JIRA)" <j...@apache.org>
Subject [jira] Commented: (ZOOKEEPER-16) Need to do path validation
Date Mon, 16 Jun 2008 19:23:45 GMT

    [ https://issues.apache.org/jira/browse/ZOOKEEPER-16?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12605385#action_12605385
] 

Benjamin Reed commented on ZOOKEEPER-16:
----------------------------------------

The following characters cannot be used because they don't display well (or render in confusing
ways):
 * overlong encodings
 * \u0000 (we use null terminated strings!)
 * \u0001-\u0019,\u00-\u009F.
 * '.' and '..' cannot be path elements. For example, the following would be invalid paths
'/a/b/./c' and '/a/b/../c'.  (This could result in confusion since ZooKeeper does not use
relative references.)
 * The following characters are also not valid for use \ud800-\uf8ff, \ufff0-\uffff, \uXfffe-\uXffff
(where X is 1 to e), \uf0000-\ufffff

Any of these violations should result in an error, decoding should stop, and an exception
thrown or error returned.

> Need to do path validation
> --------------------------
>
>                 Key: ZOOKEEPER-16
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-16
>             Project: Zookeeper
>          Issue Type: Bug
>          Components: c client, java client, server
>            Reporter: Patrick Hunt
>            Assignee: Benjamin Reed
>
> Moved from SourceForge to Apache.
> http://sourceforge.net/tracker/index.php?func=detail&aid=1963141&group_id=209147&atid=1008544

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message