Get请求使用String Parameters不推荐使用这些特殊字符,因为不同的网关和代理解读这些字符的方式不一样,见RFC-1738,这一句: Other characters are unsafe because gateways and other transport agents are known to sometimes modify such characters. These characters are "{", "}", "|", "\", "^", "~", "[", "]", and "`". 可以在接到参数以后做一次解码。 或者使用POST请求换成表单传送数据。
Get请求使用String Parameters不推荐使用这些特殊字符,因为不同的网关和代理解读这些字符的方式不一样,见RFC-1738,这一句:
Other characters are unsafe because gateways and other transport agents are known to sometimes modify such characters. These characters are "{", "}", "|", "\", "^", "~", "[", "]", and "`".
可以在接到参数以后做一次解码。
或者使用POST请求换成表单传送数据。