oglueck 2002/10/21 05:28:15
Modified: httpclient/src/java/org/apache/commons/httpclient
HttpMethodBase.java
Log:
fixed ? in parameter string
Revision Changes Path
1.68 +5 -5
jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/HttpMethodBase.java
Index: HttpMethodBase.java
===================================================================
RCS file:
/home/cvs/jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/HttpMethodBase.java,v
retrieving revision 1.67
retrieving revision 1.68
diff -u -r1.67 -r1.68
--- HttpMethodBase.java 21 Oct 2002 12:13:23 -0000 1.67
+++ HttpMethodBase.java 21 Oct 2002 12:28:15 -0000 1.68
@@ -1325,7 +1325,7 @@
}
buf.append(path);
if (query != null) {
- if (query.indexOf("?") < 0) {
+ if (query.indexOf("?") != 0) {
buf.append("?");
}
String queryString = null;
--
To unsubscribe, e-mail: <mailto:commons-dev-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@;jakarta.apache.org>