https://defect.opensolaris.org/bz/show_bug.cgi?id=18754
Knut Anders Hatlen <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #2 from Knut Anders Hatlen <[email protected]> 2011-12-13 12:37:07 UTC --- --- a/web/opensearch.jsp Tue Nov 29 17:49:56 2011 +0100 +++ b/web/opensearch.jsp Tue Dec 13 13:08:28 2011 +0100 @@ -41,6 +41,8 @@ cfg = PageConfig.get(request); StringBuilder url = new StringBuilder(128); + String protocol="http://"; + if (request.getProtocol().toUpperCase().startsWith("HTTPS")) protocol="https://"; url.append("http://").append(request.getServerName()); Should have been url.append(protocol).append(....), I suppose? -- Configure bugmail: https://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
