http://defect.opensolaris.org/bz/show_bug.cgi?id=19141

Vladimir Kotal <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |CAUSEKNOWN

--- Comment #1 from Vladimir Kotal <[email protected]> 2012-01-27 
09:34:30 UTC ---
The problem is in web/opensearch.jsp which produces the OpenSearch description:

     43     StringBuilder url = new StringBuilder(128);
     44         String scheme=request.getScheme();
     45        
url.append(scheme).append("://").append(request.getServerName());
     46     int port = request.getServerPort();
     47     if ((port != 80 && scheme.equals("http")) ||
     48                (port != 443 && scheme.equals("https"))) {
     49         url.append(':').append(port);
     50     }

...

     73     <Url template="<%= url.toString() %>&amp;q={searchTerms}"
type="text/html"/>


mod_proxy rewrites the URL to internal one and the jsp hands it over.

Not sure yet who does the URL encoding.

-- 
Configure bugmail: http://defect.opensolaris.org/bz/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
opengrok-dev mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opengrok-dev

Reply via email to