<span style="font-size:18px;">原url是</span>
<span style="font-size:18px;">https://open.weixin.qq.com/connect/oauth2/authorize?appid=wxxxxxxxxxxxx&redirect_uri=http://xxxxxxxxxxx&response_type=code&scope=snsapi_userinfo&state=#wechat_redirect</span>
<span style="font-size:18px;">点击a标签后爆appid错误,发现url变成</span><pre name="code" class="html"><span style="font-size:18px;">https://open.weixin.qq.com/connect/oauth2/authorize?<span style="color:#ff0000;">%E2%80%8b</span>appid=wx8f7d4dface233627&redirect_uri=http://xxxxxxxxxxx&response_type=code&scope=snsapi_userinfo&state=#wechat_redirect</span>
<span style="font-size:18px;">
</span>
<span style="font-size:18px;">url地址是后台字符串拼接的,string、stringbuffer都有问题,还有</span><span style="color: rgb(255, 0, 0); font-size: 18px; font-family: Arial, Helvetica, sans-serif;">%E2%80%8b</span><span style="font-size: 18px; font-family: Arial, Helvetica, sans-serif;">在</span><span style="font-size: 18px; color: rgb(255, 0, 0); font-family: Arial, Helvetica, sans-serif;">redirect_uri</span><span style="font-size: 18px; font-family: Arial, Helvetica, sans-serif;">前面的,最后是把appid从中间分开拼接,"?appid=wxxxxxx" + "xxxxxxx&",测试通过0-0,不清楚是啥问题,查资料说是太长了,浏览器自动换行了,没研究出来。。。</span>