forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rgard...@apache.org
Subject svn commit: r488472 - /forrest/trunk/whiteboard/forrest2/core/src/core/org/apache/forrest/core/locationMap/LocationMap.java
Date Tue, 19 Dec 2006 00:36:58 GMT
Author: rgardler
Date: Mon Dec 18 16:36:58 2006
New Revision: 488472

URL: http://svn.apache.org/viewvc?view=rev&rev=488472
Log:
Use Scheme Specific Part rather than Path

Modified:
    forrest/trunk/whiteboard/forrest2/core/src/core/org/apache/forrest/core/locationMap/LocationMap.java

Modified: forrest/trunk/whiteboard/forrest2/core/src/core/org/apache/forrest/core/locationMap/LocationMap.java
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/forrest2/core/src/core/org/apache/forrest/core/locationMap/LocationMap.java?view=diff&rev=488472&r1=488471&r2=488472
==============================================================================
--- forrest/trunk/whiteboard/forrest2/core/src/core/org/apache/forrest/core/locationMap/LocationMap.java
(original)
+++ forrest/trunk/whiteboard/forrest2/core/src/core/org/apache/forrest/core/locationMap/LocationMap.java
Mon Dec 18 16:36:58 2006
@@ -148,6 +148,6 @@
 			throws MalformedURLException, RESyntaxException {
 		log.debug("Testing for a match against location pattern " + pattern);
 		final RE r = new RE(pattern);
-		return r.match(requestURI.getPath());
+		return r.match(requestURI.getSchemeSpecificPart());
 	}
 }



Mime
View raw message