java.lang.IllegalArgumentException: Illegal character in query at index ...解决办法(转)
原文: http://blog.csdn.net/wuleihenbang/article/details/8810591
url转换问题
String url = baseUrl + "?" + "name=" + name + "&age=" + age; url = url.replaceAll("&", "%26"); url = url.replaceAll(" ", "%20");
另外:
? %3F
& %26
| %124
= %3D
# %23
/ %2F
+ %2B
% %25
空格 %20