mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 20:28:11 +00:00
LibWeb: Add port blacklist for ResourceLoader::load
`ResourceLoader::load` now rejects URLs which specify a `port` associated with network services known to be vulnerable to inter-protocol exploitation. Fixes #1735
This commit is contained in:
parent
c8d0a2eb3c
commit
2d699cd5da
2 changed files with 18 additions and 0 deletions
|
@ -55,6 +55,7 @@ private:
|
|||
|
||||
Protocol::Client& protocol_client() { return *m_protocol_client; }
|
||||
RefPtr<Protocol::Client> m_protocol_client;
|
||||
bool is_port_blocked(int port);
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue