2022-09-28 URI malformed

你肯定在使用decodeURI或者decodeURIComponent或者encodeURI或者encodeURIComponent来对字符串进行编解码吧?

URI malformed ==》URI格式错误

原因:出现这个报错是因为你的字符串中含有了%导致的。

解决方案:去掉%。

posted @ 2022-09-28 16:06  叶乘风  阅读(833)  评论(0编辑  收藏  举报