当前位置:   article > 正文

java.lang.IllegalArgumentException: Invalid character found in the request target.

java.lang.illegalargumentexception: invalid character found in the request t

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的参数的值转义

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/凡人多烦事01/article/detail/282328
推荐阅读
相关标签
  

闽ICP备14008679号