jackrabbit-oak-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jukka Zitting <jukka.zitt...@gmail.com>
Subject Re: svn commit: r1484405 - in /jackrabbit/oak/trunk/oak-lucene/src/main/java/org/apache/jackrabbit/oak/plugins/index/lucene: LuceneIndex.java LuceneIndexConstants.java LuceneIndexUpdate.java util/LuceneIndexHelper.java util/LuceneInitializerHelper.java
Date Tue, 21 May 2013 08:25:13 GMT

On Mon, May 20, 2013 at 12:32 PM,  <alexparvulescu@apache.org> wrote:
> +            for (String p : root.split("/")) {
> +                rootf = new File(rootf, p);
> +            }

BTW, if any of the path components contain a prefixed name like
jcr:system, the resulting File instance won't work on Windows. More
generally the path components probably need to be escaped somehow as
the set of valid OS filenames is different from those of valid Oak
names. Even things like the distinction between upper and lower case
names may be different.


Jukka Zitting

View raw message