URL 中的百分比编码


【Percent-encoding in URLs】

URL 只允许包含一定范围的字符。任何超出该范围的字符都必须进行编码。如何编码这些字符,以及哪些字符需要编码,完全取决于该字符在 URL 结构中的位置。

【URLs are permitted to only contain a certain range of characters. Any character falling outside of that range must be encoded. How such characters are encoded, and which characters to encode depends entirely on where the character is located within the structure of the URL.】