赞
踩
java.lang.IllegalArgumentException: Invalid character found in the request target. The valid characters are defined in RFC 7230 and RFC 3986
原因:
参数是中括号时,报错
http://localhost:8081/auto/builder/formSetting?attributes=[]
解决方法:
使用js提供的encodeURI方法对url的参数的值转义
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。