abdera-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eli...@apache.org
Subject svn commit: r415780 - /incubator/abdera/java/trunk/server/src/main/java/org/apache/abdera/server/servlet/ServletRequestContext.java
Date Tue, 20 Jun 2006 19:33:02 GMT
Author: eliast
Date: Tue Jun 20 12:33:02 2006
New Revision: 415780

URL: http://svn.apache.org/viewvc?rev=415780&view=rev
Log:
- Minor fixed to default implementation of getBaseUri in ServletRequestContext

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

Modified: incubator/abdera/java/trunk/server/src/main/java/org/apache/abdera/server/servlet/ServletRequestContext.java
URL: http://svn.apache.org/viewvc/incubator/abdera/java/trunk/server/src/main/java/org/apache/abdera/server/servlet/ServletRequestContext.java?rev=415780&r1=415779&r2=415780&view=diff
==============================================================================
--- incubator/abdera/java/trunk/server/src/main/java/org/apache/abdera/server/servlet/ServletRequestContext.java
(original)
+++ incubator/abdera/java/trunk/server/src/main/java/org/apache/abdera/server/servlet/ServletRequestContext.java
Tue Jun 20 12:33:02 2006
@@ -65,6 +65,9 @@
 		buffer.append(servletRequest.getLocalPort());
 	}
 	buffer.append(servletRequest.getServletPath());
+  
+  // So that .resolve() works appropriately.
+  buffer.append("/");
 	try {
 		return new URI(buffer.toString());
 	} catch (URISyntaxException e) {



Mime
View raw message