js传表单值报错Invalid character found in the request target. The valid characters are defined in RFC 3986



业务需要,通过js来传表单值。报错Invalid character found in the request target. The valid characters are defined in RFC 3986。

网上什么tomcat版本问题,没有试过。

通过

encodeURI

转码即可

猜你喜欢

转载自blog.csdn.net/qq_31293575/article/details/80061533