旧版 API
【Legacy API】
在 Legacy API 中,URL 对象的属性中的空格(' ')和以下字符将会被自动转义:
【Within the Legacy API, spaces (' ') and the following characters will be
automatically escaped in the properties of URL objects:】
< > " ` \r \n \t { } | \ ^ ' 例如,ASCII 空格字符(' ')被编码为 %20。ASCII 斜杠字符(/)被编码为 %3C。
【For example, the ASCII space character (' ') is encoded as %20. The ASCII
forward slash (/) character is encoded as %3C.】