mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-09 02:56:10 +00:00
LibWeb: Unblock port 9000
This was blocked because it can be used for cross-protocol attacks on some network printers. However, it's also used by the web platform tests. One can argue that getting WPT working is more important than theoretical attacks on poorly configured printers.
This commit is contained in:
parent
deb11a669a
commit
e7daa02bf2
Notes:
sideshowbarker
2024-07-17 04:09:56 +09:00
Author: https://github.com/ADKaster
Commit: e7daa02bf2
Pull-request: https://github.com/SerenityOS/serenity/pull/23143
Reviewed-by: https://github.com/trflynn89
1 changed files with 1 additions and 1 deletions
|
@ -449,7 +449,7 @@ bool ResourceLoader::is_port_blocked(int port)
|
|||
43, 53, 77, 79, 87, 95, 101, 102, 103, 104, 109, 110, 111, 113,
|
||||
115, 117, 119, 123, 135, 139, 143, 179, 389, 465, 512, 513, 514,
|
||||
515, 526, 530, 531, 532, 540, 556, 563, 587, 601, 636, 993, 995,
|
||||
2049, 3659, 4045, 6000, 6379, 6665, 6666, 6667, 6668, 6669, 9000 };
|
||||
2049, 3659, 4045, 6000, 6379, 6665, 6666, 6667, 6668, 6669 };
|
||||
for (auto blocked_port : ports)
|
||||
if (port == blocked_port)
|
||||
return true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue