在进行接口测试时,意外发现返回结果报java.net.MalformedURLException: Illegal character in URL,意思是“在URL中的非法字符”,我的参数是经过base64加密的,经过排查原来是jar包冲突造成的,commons-codec-1.4.jar,删除其它版本的jar包,留一个即可解决这个问题
相关文章
- 08-05python3 UnicodeEncodeError: 'gbk' codec can't encode character '\xa0' in position 30: illegal multibyte sequence
- 08-05python3 UnicodeEncodeError: 'gbk' codec can't encode character '\U0001f9e0' in position 230: illegal multibyte sequence
- 08-05curl: (3) Illegal characters found in URL
- 08-05UnicodeEncodeError: 'gbk' codec can't encode character '\xa0' in position 1987: illegal multibyte sequence
- 08-05Error:(1, 1) error: illegal character: \65279解决方法
- 08-05curl: (3) Illegal characters found in URL
- 08-05SERE0014: Illegal HTML character: decimal 154
- 08-05解决:UnicodeEncodeError: ‘gbk‘ codec can‘t encode character ‘\xa0‘ in position 707: illegal multibyte
- 08-05Illegal unquoted character ((CTRL-CHAR, code 10)): has to be escaped using backslash to be included
- 08-05UnicodeEncodeError: ‘gbk‘ codec can‘t encode character ‘\xa9‘ in position 6870: illegal multibyte s