Try to look in you file store. Did slide store the file with the # included?

What client are you using? Just found out that webfolders in Internet Explorer does not like the # sign.

/jacob

----- Original Message ----- From: "slide ganesh" <[EMAIL PROTECTED]>
To: "Slide Developers Mailing List" <slide-dev@jakarta.apache.org>
Sent: Tuesday, August 30, 2005 3:25 PM
Subject: Re: Filenames with # not encoded properly


Jacob:
I already had the URIEncoding in the server.xml. Now I added the JVM
paramter
-Dfile.encoding=UTF-8 in tomcat setup in eclipse ( I am using the eclipse
tomcat plugin).
However, I still get the error!
Regards,
Ganesh

On 8/30/05, Jacob Lund <[EMAIL PROTECTED]> wrote:

I assume that you are using the TxFileStore.

I you are using windows:
Try to add parameter -Dfile.encoding=UTF-8 to you java command when
running
tomcat. Otherwise your java will use local character set encoding and not
unicode when operating on you local filesystem.

Also - remember to set URIEncoding="UTF-8" for you connector in server.xml
.

These setting are both required to make my installation use utf8
correctly.

/jacob

----- Original Message -----
From: "slide ganesh" <[EMAIL PROTECTED]>
To: "Slide Developers Mailing List" <slide-dev@jakarta.apache.org>
Sent: Tuesday, August 30, 2005 2:58 PM
Subject: Re: Filenames with # not encoded properly


Hi Jacob:
Sorry I forgot to mention about the store; I am using <store name="tx">
store.
Regards,
Ganesh

On 8/30/05, slide ganesh <[EMAIL PROTECTED]> wrote:
>
> Hi Jacob:
> I am also using slide 2.1. I am running Tomcat.
> Yes I am using UTF8 on both client and server.
> I tried other characters such as %. They are decoded correctly but, only
> # fails.
> Thanks,
> Ganesh
>
> On 8/30/05, Jacob Lund <[EMAIL PROTECTED]> wrote:
> >
> > Hi Ganesh!
> >
> > What version of slide are you using? What store?
> >
> > I have 2.1 running and it accepts # fine in the filenames.
> >
> > You might have an encoding issue. Are you using utf8 in both client
and
> > server?
> >
> > /jacob
> >
> > ----- Original Message -----
> > From: "slide ganesh" <[EMAIL PROTECTED] >
> > To: <slide-dev@jakarta.apache.org>
> > Sent: Monday, August 29, 2005 10:12 PM
> > Subject: Filenames with # not encoded properly
> >
> >
> > Hi all,
> >
> > I have a scenario where one of the repository filenames contains # in
> > it. (Filenames with # are usually allowed in most systems).
> >
> > Slide does not encodes the file path properly. I traced the problem
> > and found that the error occurs in the ' WebdavResources.java' file.
> > The method where the wrong encoding occurs is pasted below:
> >
> > public Enumeration propfindMethod(int depth, Vector properties)
> > throws HttpException, IOException {
> >
> > thisResource = true;
> > return propfindMethod(httpURL.getPath(), depth, properties);
> > }
> >
> > Example: The actual file URL is 'slide/files/file#name.xml'. However,
> > the httpURL.getPath() returns 'slide/files/file'.
> >
> > I understand that this error is originating in
> > 'org.apache.commons.httpclient.HttpURL'. However we can have a
> > mechanism to properly encode the path.
> >
> > I am new to this mailing list. Any feedback on this issue is very much
> > appreciated.
> >
> > Thank you,
> > Ganesh
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to