Skip to content

Commit 8c3fd95

Browse files
committed
fixup! doc: deprecate url.parse()
1 parent b555ee1 commit 8c3fd95

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

doc/api/url.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -1565,8 +1565,9 @@ A `URIError` is thrown if the `auth` property is present but cannot be decoded.
15651565

15661566
`url.parse()` uses a lenient, non-standard algorithm for parsing URL
15671567
strings. It is prone to security issues such as [host name spoofing][]
1568-
and incorrect handling of usernames and passwords. Use the [WHATWG URL][] API
1569-
instead.
1568+
and incorrect handling of usernames and passwords. Do not use with untrusted
1569+
input. CVEs are not issued for `url.parse()` vulnerabilities. Use the
1570+
[WHATWG URL][] API instead.
15701571

15711572
### `url.resolve(from, to)`
15721573

0 commit comments

Comments
 (0)