Bind with accents are not working well.
I have created a resource /slide/files/testé
Then i created a bind named /slide/files/testéé
In the internet browser, i can see : test%C3%A9%C3%A9/
http://localhost:8081/slide/files/test%25C3%25A9%25C3%25A9
The Java code :
HttpURL oHttpURL
Hello Laurent, can you test also query string parameters?, something
like this:
http://localhost:8081/slide/files/test%25C3%25A9%25C3%25A9?param1=value1param2=value2
Works?
Regards
Laurent Michenaud wrote:
Bind with accents are not working well.
I have created a resource
. Avila [mailto:[EMAIL PROTECTED]
Envoyé : vendredi 20 mai 2005 10:38
À : Slide Users Mailing List
Objet : Re: Bind method and accents
Hello Laurent, can you test also query string parameters?, something
like this:
http://localhost:8081/slide/files/test%25C3%25A9%25C3%25A9?param1=value1param2
Users Mailing List
Objet : Re: Bind method and accents
Hello Laurent, can you test also query string parameters?, something
like this:
http://localhost:8081/slide/files/test%25C3%25A9%25C3%25A9?param1=value1param2=value2
Works?
Regards
Laurent Michenaud wrote:
Bind with accents
org.apache.catalina.startup.Bootstrap start
The slide properties contains :
org.apache.slide.urlEncoding=UTF-8
-Message d'origine-
De : Marco T. Avila [mailto:[EMAIL PROTECTED]
Envoyé : vendredi 20 mai 2005 10:58
À : Slide Users Mailing List
Objet : Re: Bind method and accents
The problem
-
De : Marco T. Avila [mailto:[EMAIL PROTECTED]
Envoyé : vendredi 20 mai 2005 10:58
À : Slide Users Mailing List
Objet : Re: Bind method and accents
The problem is that the put method works correctly if you pass
parameters in the query string (bug 34950), Slide should be consistent
and all methods
No
org.apache.slide.urlEncoding=UTF-8
Does my test work for u ?
-Message d'origine-
De : Marco T. Avila [mailto:[EMAIL PROTECTED]
Envoyé : vendredi 20 mai 2005 11:15
À : Slide Users Mailing List
Objet : Re: Bind method and accents
Laurent,
in
$CATALINA_HOME/work/Catalina/localhost
@jakarta.apache.org
Sent: Friday, May 20, 2005 10:29 AM
Subject: Bind method and accents
Bind with accents are not working well.
I have created a resource /slide/files/testé
Then i created a bind named /slide/files/testéé
In the internet browser, i can see : test%C3%A9%C3%A9/
http://localhost:8081
in UTF-8.
-Message d'origine-
De : Jacob Lund [mailto:[EMAIL PROTECTED]
Envoyé : vendredi 20 mai 2005 11:35
À : Slide Users Mailing List
Objet : Re: Bind method and accents
Are you sure that the DAV:segment should be escaped? Normally only the href
elements are escaped.
Try to send
Jacob Lund wrote:
Are you sure that the DAV:segment should be escaped? Normally only the
href elements are escaped.
It's part of the URI, thus the same escaping rules apply:
http://greenbytes.de/tech/webdav/rfc3986.html#rfc.iref.112
...
Best regards,
Julian
: Re: Bind method and accents
Jacob Lund wrote:
Are you sure that the DAV:segment should be escaped? Normally only the
href elements are escaped.
It's part of the URI, thus the same escaping rules apply:
http://greenbytes.de/tech/webdav/rfc3986.html#rfc.iref.112
...
Best regards,
Julian
Laurent Michenaud wrote:
Concretly, what do i have to do ?
I think Slide needs a bug fix.
Do u have tested binding with accents or not ?
I would like to know if others have the same problems
as me or not.
I am testing with a different server (SAP Netweaver KM).
Best regards,
Julian
this segment a path?
/Jacob
- Original Message -
From: Julian Reschke [EMAIL PROTECTED]
To: Slide Users Mailing List slide-user@jakarta.apache.org
Sent: Friday, May 20, 2005 11:46 AM
Subject: Re: Bind method and accents
Jacob Lund wrote:
Are you sure that the DAV:segment should be escaped
Ok I have run ethereal, seems a problem on the client side because the
request is never done for the bind method.
Request (for MKCOL)
MKCOL /debugSlide/files/%3F%3F%3F%3F%3F
Authorization: Basic cm9vdDpyb290
User-Agent: Jakarta Commons-HttpClient/2.0.1
Host: localhost:8080
Response:
: Re: Bind method and accents
Ok I have run ethereal, seems a problem on the client side because the
request is never done for the bind method.
Request (for MKCOL)
MKCOL /debugSlide/files/%3F%3F%3F%3F%3F
Authorization: Basic cm9vdDpyb290
User-Agent: Jakarta Commons-HttpClient/2.0.1
Host: localhost
Jacob Lund wrote:
Hi Julian!
Is the DAV:segment considered a part of the path?
Yes.
The segment is just a name. From what I can read in the BIND document,
the segment can only contain a name and not a uri or a relative uri.
Yes.
Does the fact the a segment in a request body is to be used in a
ahh - missed that. Thanks. :)
- Original Message -
From: Julian Reschke [EMAIL PROTECTED]
To: Slide Users Mailing List slide-user@jakarta.apache.org
Sent: Friday, May 20, 2005 12:31 PM
Subject: Re: Bind method and accents
Jacob Lund wrote:
Hi Julian!
Is the DAV:segment considered a part
17 matches
Mail list logo