URL里的分号';'一定要编码为%3b!!!!

http://en.wikipedia.org/wiki/Query_string

The series of pairs is separated by the ampersand, '&' (or semicolon, ';' for URLs embedded in HTML and not generated by a <form>...</form>; see below).

While there is no definitive standard, most web frameworks allow multiple values to be associated with a single field:[3][4]

For each field of the form, the query string contains a pair field=value. Web forms may include fields that are not visible to the user; these fields are included in the query string when the form is submitted

This convention is a W3C recommendation.[5] W3C recommends that all web servers support semicolon separators in addition to ampersand separators[6] to allowapplication/x-www-form-urlencoded query strings in URLs within HTML documents without having to entity escape ampersands.

在HTML规范里,分号是可以当&用的!!!擦!陷阱啊!!!

传的时候一定要URLENcode!!!

原文地址:https://www.cnblogs.com/yhlx/p/3178608.html