jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paco Avila" <monk...@gmail.com>
Subject Re: Submit file with forbidden chars in name to WebDAV
Date Tue, 29 Jul 2008 11:13:37 GMT
Yes, the invalid names should be escaped using ISO9075.encode(name) (or
perhaps Text.escapeIllegalJcrChars(name) or Text.escape(name) I'm not sure).
WebDAV bridge should perform this escaping, I think...

On Tue, Jul 29, 2008 at 12:14 PM, Florian Holeczek <florian@holeczek.de>wrote:

> >> There are some forbidden chars in node names (:, [, ], *, \, ", |) How
> deal
> >> WebDAV with these files? Actually server response is "500 Internal
> Server
> >> Error" but can I escape the document names (and folder) to clean these
> >> forbidden chars and get a good name? The real question is: where should
> I
> >> call this escaping method?
>
> > first of all: the problem is cause by JCR which has
> > some limiations regarding names. so far it's not related
> > to WebDAV.
>
> I remember that the JCR specs contain a mapping for these characters.
> Isn't this implemented in Jackrabbit?
>
> Regards,
>  Florian
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message