decodeURIComponent抛出错误“URIError:URI格式错误在decodeURIComponent”,因为它无法解码来自php的rawurlencode(数据)

时间:2016-01-07 05:08:37

标签: javascript php url-encoding decodeuricomponent

decodeURIComponent在解码php中的编码数据时抛出错误。

使用encoded函数的PHP中的数据为rawurlencodedecodingjs的数据为decodeURIComponent

对于少数数据,我收到其他值的错误,它正常工作。

问题: 我想知道rawurlencodedecodeURIComponent

是否有替代品

0 个答案:

没有答案