TG Telegram Group & Channel
yzqzss|一座桥在水上's Note | United States America (US)
Create: Update:

今天看了啥:

https://html.spec.whatwg.org/multipage/urls-and-fetching.html#resolving-urls

Let encoding be UTF-8.
If environment is a Document object, then set [encoding] (document charset) to environment's character encoding.


https://url.spec.whatwg.org/#query-state

2. Percent-encode after encoding, with [encoding], buffer, and queryPercentEncodeSet, and append the result to url’s query.


https://url.spec.whatwg.org/#path-state

1. ...special cases...
2. Otherwise, run these steps:
.... special cases ...
3. UTF-8 percent-encode c using the path percent-encode set and append the result to buffer.



好 TM 抽象啊,web 就是一坨屎山。

今天看了啥:

https://html.spec.whatwg.org/multipage/urls-and-fetching.html#resolving-urls

Let encoding be UTF-8.
If environment is a Document object, then set [encoding] (document charset) to environment's character encoding.


https://url.spec.whatwg.org/#query-state

2. Percent-encode after encoding, with [encoding], buffer, and queryPercentEncodeSet, and append the result to url’s query.


https://url.spec.whatwg.org/#path-state

1. ...special cases...
2. Otherwise, run these steps:
.... special cases ...
3. UTF-8 percent-encode c using the path percent-encode set and append the result to buffer.



好 TM 抽象啊,web 就是一坨屎山。
😐3


>>Click here to continue<<

yzqzss|一座桥在水上's Note




Share with your best friend
VIEW MORE

United States America Popular Telegram Group (US)