We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e69177a commit 1564752Copy full SHA for 1564752
src/inspector_socket.cc
@@ -584,8 +584,7 @@ class HttpHandler : public ProtocolHandler {
584
bool IsAllowedHost(const std::string& host_with_port) const {
585
std::string host = TrimPort(host_with_port);
586
return host.empty() || IsIPAddress(host)
587
- || node::StringEqualNoCase(host.data(), "localhost")
588
- || node::StringEqualNoCase(host.data(), "localhost6");
+ || node::StringEqualNoCase(host.data(), "localhost");
589
}
590
591
bool parsing_value_;
0 commit comments