mirror of
https://github.com/github/codeql.git
synced 2026-02-28 04:43:42 +01:00
Enhance the query
This commit is contained in:
@@ -132,6 +132,7 @@ class UrlOpenConnectionMethod extends Method {
|
||||
|
||||
/**
|
||||
* A string matching private host names of IPv4 and IPv6, which only matches the host portion therefore checking for port is not necessary.
|
||||
* Several examples are localhost, reserved IPv4 IP addresses including 127.0.0.1, 10.x.x.x, 172.16.x,x, 192.168.x,x, and reserved IPv6 addresses including [0:0:0:0:0:0:0:1] and [::1]
|
||||
*/
|
||||
class PrivateHostName extends string {
|
||||
bindingset[this]
|
||||
|
||||
Reference in New Issue
Block a user