Author: tyrell
Date: Fri Feb  8 19:10:54 2008
New Revision: 13483

Log:

Reverting the Feed url scheme from hard coded 'http' to the scheme of the 
request.

Modified:
   trunk/mashup/java/modules/www/search.jsp

Modified: trunk/mashup/java/modules/www/search.jsp
==============================================================================
--- trunk/mashup/java/modules/www/search.jsp    (original)
+++ trunk/mashup/java/modules/www/search.jsp    Fri Feb  8 19:10:54 2008
@@ -312,7 +312,7 @@
         if (request.getQueryString() != null) {
             file += '?' + request.getQueryString();
         }
-        URL reconstructedURL = new URL("http",
+        URL reconstructedURL = new URL(request.getScheme(),
                                        request.getServerName(),
                                        request.getServerPort(),
                                        file);
@@ -354,7 +354,7 @@
                     entryDescription = result.getDescription();
                     String baseURI = 
request.getRequestURI().substring(0,request.getRequestURI().lastIndexOf("/"));
                 }
-                URL mashupLink = new URL("http",
+                URL mashupLink = new URL(request.getScheme(),
                                          request.getServerName(),
                                          request.getServerPort(),
                                          "/mashup.jsp?path=" + 
result.getPath());

_______________________________________________
Mashup-dev mailing list
[email protected]
http://www.wso2.org/cgi-bin/mailman/listinfo/mashup-dev

Reply via email to