File tree Expand file tree Collapse file tree 3 files changed +23
-1
lines changed Expand file tree Collapse file tree 3 files changed +23
-1
lines changed Original file line number Diff line number Diff line change 11# Changelog
22
3+ ## Version 3.0.1
4+
5+ - Fixed bug with ` https: ` URLs defaulting to port ` 80 ` instead of ` 443 ` if no port is specified.
6+ Thanks to @dskvr for reporting
7+
8+ This affects comparing URLs with the default HTTPs port to URLs without it.
9+ For example, comparing ` https://example.com/ ` to ` https://example.com:443/ ` or vice versa.
10+
11+ They should be treated as equivalent but weren't due to the incorrect port
12+ being used for ` https: ` .
13+
314## Version 3.0.0
415
516- Changed to using global URL object instead of importing. &ndash ; Thanks to @brendankenny
Original file line number Diff line number Diff line change @@ -94,6 +94,17 @@ Returns the preferred host name specified by the `host:` directive or null if th
9494
9595# Changes
9696
97+ ### Version 3.0.1
98+
99+ - Fixed bug with ` https: ` URLs defaulting to port ` 80 ` instead of ` 443 ` if no port is specified.
100+ Thanks to @dskvr for reporting
101+
102+ This affects comparing URLs with the default HTTPs port to URLs without it.
103+ For example, comparing ` https://example.com/ ` to ` https://example.com:443/ ` or vice versa.
104+
105+ They should be treated as equivalent but weren't due to the incorrect port
106+ being used for ` https: ` .
107+
97108### Version 3.0.0
98109
99110- Changed to using global URL object instead of importing. &ndash ; Thanks to @brendankenny
Original file line number Diff line number Diff line change 11{
22 "name" : " robots-parser" ,
3- "version" : " 3.0.0 " ,
3+ "version" : " 3.0.1 " ,
44 "description" : " A specification compliant robots.txt parser with wildcard (*) matching support." ,
55 "keywords" : [
66 " robots.txt" ,
You can’t perform that action at this time.
0 commit comments