abdera-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From antel...@apache.org
Subject svn commit: r940215 - /abdera/java/trunk/server/src/main/java/org/apache/abdera/protocol/server/servlet/ServletRequestContext.java
Date Sun, 02 May 2010 13:21:28 GMT
Author: antelder
Date: Sun May  2 13:21:27 2010
New Revision: 940215

URL: http://svn.apache.org/viewvc?rev=940215&view=rev
Log:
ABDERA-233: initBaseUri() in the class ServletRequestContext will append the port 443 to https
requests, fixed as suggested in JIRA by J G

Modified:
    abdera/java/trunk/server/src/main/java/org/apache/abdera/protocol/server/servlet/ServletRequestContext.java

Modified: abdera/java/trunk/server/src/main/java/org/apache/abdera/protocol/server/servlet/ServletRequestContext.java
URL: http://svn.apache.org/viewvc/abdera/java/trunk/server/src/main/java/org/apache/abdera/protocol/server/servlet/ServletRequestContext.java?rev=940215&r1=940214&r2=940215&view=diff
==============================================================================
--- abdera/java/trunk/server/src/main/java/org/apache/abdera/protocol/server/servlet/ServletRequestContext.java
(original)
+++ abdera/java/trunk/server/src/main/java/org/apache/abdera/protocol/server/servlet/ServletRequestContext.java
Sun May  2 13:21:27 2010
@@ -226,7 +226,7 @@ public class ServletRequestContext 
       buffer.append("://");
       buffer.append(getHost(provider,request));
       int port = getPort(provider,request);
-      if (port != 80) {
+      if ((port != 80) && (port != 443)) {
         buffer.append(":");
         buffer.append(port);
       }



Mime
View raw message