File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3295,6 +3295,22 @@ Type: Documentation-only
32953295have security implications. Use the [ WHATWG URL API] [ ] instead. CVEs are not
32963296issued for ` url.parse() ` vulnerabilities.
32973297
3298+ ### DEP0170: Invalid port when using ` url.parse() `
3299+
3300+ <!-- YAML
3301+ changes:
3302+ - version:
3303+ - REPLACEME
3304+ pr-url: https://github.com/nodejs/node/pull/45526
3305+ description: Documentation-only deprecation.
3306+ -->
3307+
3308+ Type: Documentation-only
3309+
3310+ [ ` url.parse() ` ] [ ] accepts URLs with ports that are not numbers. This behavior
3311+ might result in host name spoofing with unexpected input. These URLs will throw
3312+ an error in future versions of Node.js, as the [ WHATWG URL API] [ ] does already.
3313+
32983314[ NIST SP 800-38D ] : https://nvlpubs.nist.gov/nistpubs/Legacy/SP/nistspecialpublication800-38d.pdf
32993315[ RFC 6066 ] : https://tools.ietf.org/html/rfc6066#section-3
33003316[ RFC 8247 Section 2.4 ] : https://www.rfc-editor.org/rfc/rfc8247#section-2.4
You can’t perform that action at this time.
0 commit comments