You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by ja...@apache.org on 2007/07/06 16:30:06 UTC

svn commit: r553896 - /lenya/branches/BRANCH_1_2_X/src/java/org/apache/lenya/cms/cocoon/components/modules/input/ProxyUrlModule.java

Author: jann
Date: Fri Jul  6 07:30:05 2007
New Revision: 553896

URL: http://svn.apache.org/viewvc?view=rev&rev=553896
Log:
fixes http://issues.apache.org/bugzilla/show_bug.cgi?id=42825

Modified:
    lenya/branches/BRANCH_1_2_X/src/java/org/apache/lenya/cms/cocoon/components/modules/input/ProxyUrlModule.java

Modified: lenya/branches/BRANCH_1_2_X/src/java/org/apache/lenya/cms/cocoon/components/modules/input/ProxyUrlModule.java
URL: http://svn.apache.org/viewvc/lenya/branches/BRANCH_1_2_X/src/java/org/apache/lenya/cms/cocoon/components/modules/input/ProxyUrlModule.java?view=diff&rev=553896&r1=553895&r2=553896
==============================================================================
--- lenya/branches/BRANCH_1_2_X/src/java/org/apache/lenya/cms/cocoon/components/modules/input/ProxyUrlModule.java (original)
+++ lenya/branches/BRANCH_1_2_X/src/java/org/apache/lenya/cms/cocoon/components/modules/input/ProxyUrlModule.java Fri Jul  6 07:30:05 2007
@@ -132,8 +132,7 @@
             } else {
                 // Take server name and port from request.
                 Request request = ObjectModelHelper.getRequest(objectModel);
-                value = "http://" + request.getServerName() + ":" + request.getServerPort()
-                        + request.getContextPath() + doc.getCompleteURL();
+                value = request.getContextPath() + doc.getCompleteURL();
             }
 
         } catch (Exception e) {



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org