jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zhou Wu (JIRA)" <j...@apache.org>
Subject [jira] Updated: (JCR-1596) WebDav and search.jsp don't handle utf-8 parameters correctly
Date Mon, 12 May 2008 05:17:55 GMT

     [ https://issues.apache.org/jira/browse/JCR-1596?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Zhou Wu updated JCR-1596:
-------------------------

    Description: 

1.  I  cannot use WebDav client to uploaded a file whose name is in Chinese.  The file name
I had is ''郭可为.txt'  and the uploaded command by the WebDav client did something like:

  ========= Outbound Message =========
PUT /op/%ED%EF%3A.txt HTTP/1.1
Host: localhost:8080
-----

 The server didn't decode it correctly -- the result is the file name got screwed and the
file content was not uploaded.

2. In the default web.war module,  there is search.jsp for rendering the search page. If I
type Chinese text in the search box,  search.jsp does not decode the input parameter from
ISO-8859-1 to utf-8 and in turn the search engine searches wrong string.

3. The search engine does do search correctly if I hardcode the query  variable in search.jsp
or do decoding the query parameter from ISO-885901 to utf-8.



  was:

1.  I  cannot use WebDav client to uploaded a file whose name is in Chinese.  The file name
I had is ''郭可为.txt'  and the uploaded command by the WebDav client did something like:

  ========= Outbound Message =========
PUT /op/%ED%EF%3A.txt HTTP/1.1
Host: localhost:8080
-----

 The server didn't decode it correctly -- the result is the file name got screwed and the
file content was not uploaded.

2. In the default web.war module,  there is search.jsp for rendering the search page. If I
type Chinese text in the search box,  search.jsp does not decode the input parameter from
ISO-8859-1 to utf-8 and in turn the search engine searches wrong string.

3. The search engine does do search correctly if I hardcode the query  variable in search.jsp
or do decoded the query parameter from ISO-885901 to utf-8.




> WebDav and search.jsp don't handle utf-8 parameters correctly
> -------------------------------------------------------------
>
>                 Key: JCR-1596
>                 URL: https://issues.apache.org/jira/browse/JCR-1596
>             Project: Jackrabbit
>          Issue Type: Bug
>          Components: jackrabbit-jcr-server, jackrabbit-jcr-servlet, jackrabbit-webdav
>         Environment: Tomcat 5.5 - 6.0.16 on Windows XP. JDK 1.5 -1.6  
> IE 7.0  FireFox 2.0.*
>            Reporter: Zhou Wu
>
> 1.  I  cannot use WebDav client to uploaded a file whose name is in Chinese.  The file
name I had is ''郭可为.txt'  and the uploaded command by the WebDav client did something
like:
>   ========= Outbound Message =========
> PUT /op/%ED%EF%3A.txt HTTP/1.1
> Host: localhost:8080
> -----
>  The server didn't decode it correctly -- the result is the file name got screwed and
the file content was not uploaded.
> 2. In the default web.war module,  there is search.jsp for rendering the search page.
If I type Chinese text in the search box,  search.jsp does not decode the input parameter
from ISO-8859-1 to utf-8 and in turn the search engine searches wrong string.
> 3. The search engine does do search correctly if I hardcode the query  variable in search.jsp
or do decoding the query parameter from ISO-885901 to utf-8.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message