Special characters such as%2f,%2b in URLs

Source: Internet
Author: User
Some symbols cannot be passed directly in the URL, and if you want to pass these special symbols in the URL, they will be encoded. The encoded format is: The ASCII code of the% plus character, which is a percent percent, followed by the ASCII (16-binary) code value of the corresponding character. For example, the encoded value of a space is "%20". If you do not use escape characters, these encodings are treated as special characters defined in the URL. The following table lists some of the URL special symbols and encoded hexadecimal values 1) + URL in the + sign for spaces%2b2) spaces in the URL can be used with the + number or code%203)/separate directories and subdirectories%2f4)? Separating the actual URL and parameter%3f5)% Specify special characters%256) # means bookmarks%23& The delimiter between the parameters specified in the URL%268) = The value of the specified parameter in the URL%3d         

Special characters such as%2f,%2b in URLs

Related Article

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.