Special character escaping encoding in URL URLsDecember 29, 2017 09:10:57Hits:Special character escaping encoding in URL URLsCharacter-URL encoded valueSpaces-%20"-%22#-%23%-%25&-%26(-%28)-%29+-%2B,-%2c/-%2F:-%3a; -%3b=-%3d>-%3e? -%3f@-%40\-%5C|
1.URL special characters need to be escaped2. Replace the space with a plus sign (+)3. Forward slash (/) separator directory and subdirectories4. Question mark (?) Separating URLs and queries5. Percent semicolon (%) to develop special characters6.
Previous wordsHTTP messages can host content in any language, as if it could host images, movies, or any type of MEDIA. For http, The entity body is just a container for binary Information. In order to support international content, the server needs
Previous wordsHTTP messages can host content in any language, as if it could host images, movies, or any type of media. For HTTP, the entity body is just a container for binary information. In order to support international content, the server needs
[story caused by failure] Processing with a plus sign in the URLSource: http://agapple.iteye.com/blog/773061
HTML javaScript HTTP protocol
Cause of the problem:URL parameters, because this way the arguments are visible
From: http://hi.baidu.com/jrckkyy/blog/item/d86c12ecea120c30279791be.html
In addition to common letters, numbers, Chinese characters, and special characters, character escaping is used."+" The + sign in the URL indicates space % 2BThe space in
Some symbols cannot be directly transmitted in the URL. If you want to pass these special symbols in the URL, you need to use their encoding. The following table lists some special URL symbols and codes.
Hexadecimal value1. In the + URL, the plus
If an encoding is required, it indicates that this is not suitable for transmission. There are a variety of reasons, such as a large size that contains private data. For a URL, encoding is required because some characters in the URL may cause
When using a URL for parameter passing, some Chinese name arguments or URL addresses are often passed, and conversion errors occur during background processing. In some pass-through pages use GB2312, and the Receive page uses UTF8, so that the
Some symbols cannot be directly transmitted in the URL. If you want to pass these special symbols in the URL, you need to use their encoding. The following table lists some special URL symbols and codes.
Hexadecimal value1. In the + URL, the plus
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.