tomcat 7 7.0.73 url 参数 大括号 {} 不支持 , 7.0.67支持

7.0.73 url有JSON.stringify一个对象,然后作为参数拼接。结果请求报400错误,但是tomcat 7.0.67版本没有问题,猜测是高级版本对url参数比较严格。 

 处理方法:
  1.encodeURIComponent(JSON.stringify(files))  加一下encodeURIComponent 处理即可。 
  2.换支持{}的tomcat,。
原文地址:https://www.cnblogs.com/hwgok/p/6636173.html