Author: tyrell
Date: Fri Jan 25 23:35:17 2008
New Revision: 12946

Log:

Changing the feed links to use http protocol always.

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 Jan 25 23:35:17 2008
@@ -312,7 +312,7 @@
         if (request.getQueryString() != null) {
             file += '?' + request.getQueryString();
         }
-        URL reconstructedURL = new URL(request.getScheme(),
+        URL reconstructedURL = new URL("http",
                                        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(request.getScheme(),
+                URL mashupLink = new URL("http",
                                          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