jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marcel Reutegger (JIRA)" <j...@apache.org>
Subject [jira] Updated: (JCR-1596) search.jsp doesn't handle utf-8 parameters correctly
Date Tue, 13 May 2008 08:38:55 GMT

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

Marcel Reutegger updated JCR-1596:

          Component/s:     (was: jackrabbit-jcr-servlet)
                           (was: jackrabbit-jcr-server)
                           (was: jackrabbit-webdav)
        Fix Version/s: 1.5
             Priority: Minor  (was: Major)
    Affects Version/s: 1.4
              Summary: search.jsp doesn't handle utf-8 parameters correctly  (was: WebDav
and search.jsp don't handle utf-8 parameters correctly)

> search.jsp doesn'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-webapp
>    Affects Versions: 1.4
>         Environment: Tomcat 5.5 - 6.0.16 on Windows XP. JDK 1.5 -1.6  
> IE 7.0  FireFox 2.0.*
>            Reporter: Zhou Wu
>            Priority: Minor
>             Fix For: 1.5
> 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
>   ========= 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.

View raw message