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 09:25:27 GMT
Yes and not. I know that the problem is related to JCR and not directly to
WebDAV but my problem is when I use JCR across WebDAV. The problem is not
the WebDAV protocol is the WebDAV-JCR bridge.

I will try yor solution. Thanks!

On Tue, Jul 29, 2008 at 11:12 AM, Angela Schreiber <anchela@day.com> wrote:

> Paco Avila 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.
>
> if you are using the simple webdav server, i would
> suggest that you create your own DavResourceLocator factory
> that adds escaping/unescaping of the chars invalid in JCR
> names upon conversion from
>
> href -> repositoryPath and
> repositoryPath -> href.
>
> regards
> angela
>
>
>
>
>

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