mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-30 04:17:31 +09:00
Issue #2554 - Block access to 0.0.0.0 on non-Windows OSes.
Resolves #2554.
This commit is contained in:
parent
314ba652f4
commit
d44b309966
3 changed files with 22 additions and 0 deletions
|
|
@ -1885,6 +1885,16 @@ pref("network.dns.disablePrefetch", false);
|
|||
// rejected before being given to DNS. RFC 7686
|
||||
pref("network.dns.blockDotOnion", true);
|
||||
|
||||
// This preference controls whether to block access to 0.0.0.0
|
||||
// to mitigate local access issues in *NIX network stacks.
|
||||
#if defined(XP_WIN)
|
||||
// Windows is not affected, so don't block it there.
|
||||
// XXX: any other OSes not having this issue?
|
||||
pref("network.dns.blockQuad0", false);
|
||||
#else
|
||||
pref("network.dns.blockQuad0", true);
|
||||
#endif
|
||||
|
||||
// These domains are treated as localhost equivalent
|
||||
pref("network.dns.localDomains", "");
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue