This is version . It is not the current version, and thus it cannot be edited.
[Back to current version]   [Restore this version]
TitleSearch doesn't support Chinese
Date17-Mar-2006 15:08:17 EET
VersionJSPWiki-2.3.72-alpha
Submitter张宇
Bug criticalityLightBug
Browser versionie
Bug statusOpenBug
PageProvider used
Servlet ContainerTomcat 5.0.28
Operating SystemWindows XP
URLSearch.jsp
Java versionJdk 1.4.2

When submit a Chinese word search,Search.jsp doesn't display it correctly. Change code from: String query = request.getParameter( "query"); to:String query = wiki.safeGetParameter( request, "query"); then search functionality can run right.


Good catch, thanks!

-- JanneJalkanen


Looking at the current (2.4.100) source of Search.jsp it looks like this still isn't solved.


    // Get the search results
    Collection list = null;
    String query = request.getParameter( "query");
    String go    = request.getParameter("go");
It shouldn't take long to implement the suggested fix, is it ?

--HarryMetske, 10-Mar-2007

Add new attachment

Only authorized users are allowed to upload new attachments.
« This particular version was published on 10-Mar-2007 19:08 by HarryMetske.