Skip to content
Prev Previous commit
Next Next commit
Update doc/api/url.md
Co-authored-by: Rich Trott <rtrott@gmail.com>
  • Loading branch information
RaisinTen and Trott authored Mar 13, 2022
commit 71fa00cc60f25381102c6f6c875e6b91a5397fa3
3 changes: 1 addition & 2 deletions doc/api/url.md
Original file line number Diff line number Diff line change
Expand Up @@ -1563,8 +1563,7 @@ strings. It is prone to security issues such as [host name spoofing][]
and incorrect handling of usernames and passwords.

`url.parse()` is an exception to most of the legacy APIs. Despite its security
Comment thread
RaisinTen marked this conversation as resolved.
concerns, it is not deprecated and it still remains to be a legacy API because
it is:
concerns, it is legacy and not deprecated because it is:

* faster than the alternative WHATWG `URL` parser
* easier to use with regards to relative URLs than the alternative WHATWG `URL` API
Expand Down