Revision: 724
http://jwebunit.svn.sourceforge.net/jwebunit/?rev=724&view=rev
Author: henryju
Date: 2008-04-14 07:36:18 -0700 (Mon, 14 Apr 2008)
Log Message:
-----------
[1860745] setProxyAuthorization caused IllegalArgumentException
Modified Paths:
--------------
trunk/jwebunit-core/src/main/java/net/sourceforge/jwebunit/util/TestContext.java
trunk/src/changes/changes.xml
Modified:
trunk/jwebunit-core/src/main/java/net/sourceforge/jwebunit/util/TestContext.java
===================================================================
---
trunk/jwebunit-core/src/main/java/net/sourceforge/jwebunit/util/TestContext.java
2008-04-14 13:53:41 UTC (rev 723)
+++
trunk/jwebunit-core/src/main/java/net/sourceforge/jwebunit/util/TestContext.java
2008-04-14 14:36:18 UTC (rev 724)
@@ -118,7 +118,7 @@
this.proxyPasswd = passwd;
this.proxyHost = host;
this.proxyPort = port;
- hasProxyAuth = true;
+ hasProxyAuth = !(null == user && null == passwd);
}
/**
Modified: trunk/src/changes/changes.xml
===================================================================
--- trunk/src/changes/changes.xml 2008-04-14 13:53:41 UTC (rev 723)
+++ trunk/src/changes/changes.xml 2008-04-14 14:36:18 UTC (rev 724)
@@ -8,6 +8,9 @@
</properties>
<body>
<release version="1.5" date="UNKNOW" description="The latest major
release before Java 1.5 migration">
+ <action type="fix" dev="henryju" issue="1860745" due-to="Ward
Bergmans">
+ setProxyAuthorization caused IllegalArgumentException with
null username/password and not null host/port.
+ </action>
<action type="add" dev="henryju" issue="1793818" due-to="Achim
Huegen">
Added setHiddenField method to WebTestCase.
</action>
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
JWebUnit-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jwebunit-development