There was an error while loading. Please reload this page.
1 parent 9355a94 commit 204df54Copy full SHA for 204df54
src/main/java/com/ning/http/client/RequestBuilderBase.java
@@ -275,9 +275,10 @@ private String buildUrl(String url) {
275
for( String query : queries) {
276
pos = query.indexOf("=");
277
if (pos <= 0) {
278
- throw new IllegalStateException("Illegal URL: " + url);
+ addQueryParameter(query, null);
279
+ }else{
280
+ addQueryParameter(query.substring(0, pos) , query.substring(pos +1));
281
}
- addQueryParameter(query.substring(0, pos) , query.substring(pos +1));
282
283
284
return buildedUrl.toString();
0 commit comments