[Httpunit-commit] SF.net SVN: httpunit:[1016] trunk/httpunit/src/com/meterware/httpunit/ cookies/Co
Brought to you by:
russgold
|
From: <wol...@us...> - 2008-12-14 22:20:08
|
Revision: 1016
http://httpunit.svn.sourceforge.net/httpunit/?rev=1016&view=rev
Author: wolfgang_fahl
Date: 2008-12-14 22:20:00 +0000 (Sun, 14 Dec 2008)
Log Message:
-----------
comment added
Modified Paths:
--------------
trunk/httpunit/src/com/meterware/httpunit/cookies/Cookie.java
Modified: trunk/httpunit/src/com/meterware/httpunit/cookies/Cookie.java
===================================================================
--- trunk/httpunit/src/com/meterware/httpunit/cookies/Cookie.java 2008-12-02 22:14:56 UTC (rev 1015)
+++ trunk/httpunit/src/com/meterware/httpunit/cookies/Cookie.java 2008-12-14 22:20:00 UTC (rev 1016)
@@ -236,6 +236,12 @@
}
+ /**
+ * accept path for the given hostpath
+ * @param pathPattern
+ * @param hostPath
+ * @return true - either if PathMatching is not strict or the hostpath starts with the given path pattern
+ */
private boolean acceptPath( String pathPattern, String hostPath ) {
return !CookieProperties.isPathMatchingStrict() || hostPath.startsWith( pathPattern );
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|