个人错误小记
xiaojia_wahaha_
这个作者很懒,什么都没留下…
展开
-
The valid characters are defined in RFC 7230 and RFC 3986
出错背景:帆软报表批量导出的时候路径包含了[{},{}]数组类型的格式,因为我用的JDK1.8,所以对路径审核更严谨,所以会报错:java.lang.IllegalArgumentException: Invalid character found in the request target. The valid characters are defined in RFC 7230 and RF...原创 2018-12-06 16:24:38 · 263 阅读 · 0 评论 -
URLDecoder: Illegal hex characters in escape (%) pattern - For input string: "%2"
URLDecoder: Illegal hex characters in escape (%) pattern - For input string: "%2"错误原因:地址中含有“%”号解决方式:将地址中的“%”号替换成“%25” 相关代码:str.replace("%","%25");参考博客:https://blog.csdn.net/mr...原创 2018-12-17 18:48:52 · 4719 阅读 · 0 评论