美文网首页
请求入参 unable to decode value

请求入参 unable to decode value

作者: 小银 | 来源:发表于2018-10-23 16:27 被阅读0次

    get请求里带%符合 会自动解析转Url编码,由于无法解析%就会报这个问题
    正常url应该通过encodeURIComponent()转url编码 encodeURIComponent("%")=%25 这样浏览器识别就会解析会%
    url编码本身是为了解决特殊字符带来的混淆,比如 = &

    相关文章

      网友评论

          本文标题:请求入参 unable to decode value

          本文链接:https://www.haomeiwen.com/subject/zzeazftx.html