Update of /cvsroot/archive-access/archive-access/projects/nutch/src/web
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31835
Modified Files:
search.jsp
Log Message:
Last bit of '[ 1244875 ] exacturl encoding not working'
* search.jsp
Encode the query we put under the RSS logo. Do encoding on original query
putting link under the RSS logo, not on one that has already had entities
encoded.
Index: search.jsp
===================================================================
RCS file: /cvsroot/archive-access/archive-access/projects/nutch/src/web/search.jsp,v
retrieving revision 1.20
retrieving revision 1.21
diff -C2 -d -r1.20 -r1.21
*** search.jsp 7 Sep 2005 23:05:29 -0000 1.20
--- search.jsp 4 Oct 2005 00:13:22 -0000 1.21
***************
*** 92,96 ****
String rss = request.getContextPath() + "/opensearch?query=" +
! htmlQueryString + "&hitsPerDup=" + hitsPerDup +
((start != 0)? "&start=" + start: "") + params;
--- 92,96 ----
String rss = request.getContextPath() + "/opensearch?query=" +
! response.encodeURL(queryString) + "&hitsPerDup=" + hitsPerDup +
((start != 0)? "&start=" + start: "") + params;
|