Url encoding process recordof

When accessing the url contains non-ASCII characters using the browser, the browser will automatically encode each encoding character will be in front of a percent sign%.

If the request parameters also contain percent signs, such as  localhost: 8080 / Bus ? a = b% c, if direct access is not resolve the service side of parameter values, including the time required portions% individually encoded prior to the request, js encodeURIComponent function is encoded by

Guess you like

Origin www.cnblogs.com/xingjj/p/urlencode.html