diff options
author | Stef Walter <stef@memberwebs.com> | 2006-06-07 01:41:35 +0000 |
---|---|---|
committer | Stef Walter <stef@memberwebs.com> | 2006-06-07 01:41:35 +0000 |
commit | 2345f652530d51eeedcfa83bc637bc3adb5b3fad (patch) | |
tree | 2717b0b771a799cf5dc9e4c7ea17ecac0aeac285 | |
parent | 50316d6f59ff542df4fe4db6bb74fe0c2f57b359 (diff) |
Fixes from Ross Elliot
-rw-r--r-- | AUTHORS | 6 | ||||
-rw-r--r-- | java/src/com/memberwebs/httpauth/HttpAuthConnection.java | 2 | ||||
-rw-r--r-- | java/src/com/memberwebs/httpauth/servlet/ServletHttpAuthenticator.java | 2 |
3 files changed, 7 insertions, 3 deletions
@@ -1 +1,5 @@ -nielsen@memberwebs.com +AUTHORS: +Nate Nielsen <nielsen@memberwebs.com> + +CONTRIBUTIONS: +Ross Elliot <ross.elliott@infoterra-global.com> diff --git a/java/src/com/memberwebs/httpauth/HttpAuthConnection.java b/java/src/com/memberwebs/httpauth/HttpAuthConnection.java index 7604d31..e29aaae 100644 --- a/java/src/com/memberwebs/httpauth/HttpAuthConnection.java +++ b/java/src/com/memberwebs/httpauth/HttpAuthConnection.java @@ -224,7 +224,7 @@ public class HttpAuthConnection { synchronized(this) { - if(isConnected() && !m_checkedout) + if(!isConnected() && !m_checkedout) return null; m_checkedout = true; diff --git a/java/src/com/memberwebs/httpauth/servlet/ServletHttpAuthenticator.java b/java/src/com/memberwebs/httpauth/servlet/ServletHttpAuthenticator.java index 4e2d025..be4902f 100644 --- a/java/src/com/memberwebs/httpauth/servlet/ServletHttpAuthenticator.java +++ b/java/src/com/memberwebs/httpauth/servlet/ServletHttpAuthenticator.java @@ -107,7 +107,7 @@ public class ServletHttpAuthenticator String qs = req.getQueryString(); if(qs != null) - uri += qs; + uri += "?" + qs; // NOTE: We can't set the remote user on the request. That's just // the way the interfaces are designed |