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/slide/loader/org/apache/slide/slide.properties

any look changing from UTF-8 to ISO-8859-1 ?


Laurent Michenaud wrote:

>What's the link with my problem ?
>
>
>Other informations :
>
>My tomcat is started with the following options :
>
>"c:\dev\j2sdk1.4.2_06\bin\java"
>-Djava.security.auth.login.config=
>c:\dev\jakarta-tomcat-5.0.28-slide\conf\jaas.config
>-Dfile.encoding=UTF-8
>-Djava.endorsed.dirs="c:\dev\jakarta-tomcat-5.0.28-slide\common\endorsed"
>-classpath 
>"c:\dev\j2sdk1.4.2_06\lib\tools.jar;c:\dev\jakarta-tomcat-5.0.28-slide\bin\bootstrap.jar"
> -Dcatalina.base="c:\dev\jakarta-tomcat-5.0.28-slide"
>-Dcatalina.home="c:\dev\jakarta-tomcat-5.0.28-slide"
>-Djava.io.tmpdir="c:\dev\jakarta-tomcat-5.0.28-slide\temp" 
>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 is that the put method works correctly if you pass
>parameters in the query string (bug 34950), Slide should be consistent
>and all methods should ignore all after the ?
> 
>
>Regards
>
>Laurent Michenaud wrote:
>
>  
>
>>It seems to work but i don't understand why u ask me to do this test.
>>
>>I have looked at the xml file, it is stored like this :
>>
>> <objectnode classname="org.apache.slide.structure.SubjectNode" 
>> uri="/1116576562048.22">
>>   <children>
>>     <child name="test" uuri="/1116576562048.28" />
>>     <child name="test�" uuri="/1116576562048.29" />
>>     <child name="test%C3%A9%C3%A9" uuri="/1116576562048.29" />
>>   </children>
>>   <parents>
>>     <parent name="files" uuri="/" />
>>   </parents>
>>   <links />
>> </objectnode>
>>
>>It is not correct for :
>><child name="test%C3%A9%C3%A9" uuri="/1116576562048.29" />
>>
>>-----Message d'origine-----
>>De : Marco T. 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=value1&param2=value2
>>
>>
>>Works?
>>
>>Regards
>>
>>
>>
>>Laurent Michenaud wrote:
>>
>> 
>>
>>    
>>
>>>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 = new HttpURL("http://localhost:8081/slide/";);
>>>
>>>oHttpURL.setUserinfo("root", "root");
>>>
>>>WebdavResource r_oWebdavResource = new WebdavResource(oHttpURL);
>>>
>>>r_oWebdavResource.bindMethod( "/slide/files/test�", "/slide/files/test��");
>>>
>>>oWebdavResource.close();
>>>
>>>
>>>
>>>The http request :
>>>
>>><?xml version="1.0" encoding="utf-8" ?><D:propfind 
>>>xmlns:D="DAV:"><D:prop><D:displayname/><D:getcontentlength/><D:getcontenttype/><D:resourcetype/><D:getlastmodified/><D:lockdiscovery/></D:prop></D:propfind>BIND
>>> /slide/files HTTP/1.1
>>>
>>>Authorization: Basic ************
>>>
>>>User-Agent: Jakarta Commons-HttpClient/3.0-rc2
>>>
>>>Host: localhost:8082
>>>
>>>Cookie: $Version=0; JSESSIONID=1FA963D1E55AA8CC5D0640E528DCFE19; $Path=/slide
>>>
>>>Content-Length: 150
>>>
>>>Content-Type: text/xml; charset=utf-8
>>>
>>>Overwrite: F
>>>
>>><?xml version="1.0" encoding="utf-8" ?><D:bind 
>>>xmlns:D="DAV:"><D:segment>test%C3%A9%C3%A9</D:segment><D:href>/slide/files/test%C3%A9</D:href></D:bind>
>>>
>>>
>>>
>>>
>>>
>>>All other methods( mkcol, move, renamed...) work well with accents.
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>   
>>>
>>>      
>>>
>>---------------------------------------------------------------------
>>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]
>
>
>  
>


---------------------------------------------------------------------
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