Skip to content

Fix page load for proxied containers when Mozilla VPN isn't active (fix #2570)#2645

Open
lusimeon wants to merge 1 commit into
mozilla:mainfrom
lusimeon:2570-fix-load-vpn-disabled
Open

Fix page load for proxied containers when Mozilla VPN isn't active (fix #2570)#2645
lusimeon wants to merge 1 commit into
mozilla:mainfrom
lusimeon:2570-fix-load-vpn-disabled

Conversation

@lusimeon

@lusimeon lusimeon commented Jun 20, 2024

Copy link
Copy Markdown

Before submitting your pull request

  • I agree to license my code under the MPL 2.0 license.
  • I rebased my work on top of the main branch.
  • I ran npm test and all tests passed.
  • I added test coverages if relevant.

Description

Remove the use of the proxy if Mozilla VPN inactive, still load page in the dedicated container. Without this fix, infinite page load happen on custom location proxied containers if Mozilla VPN is inactive (more info on #2570).

To reproduce:

  • Assign a custom VPN location to a container.
  • Globally disable Mozilla VPN.
  • Open a page with this container.
  • The page will load indefinitely.

Type of change

  • Bug fix
  • New feature
  • Major change (fix or feature that would cause existing functionality to work differently than in the current version)
    • The container will not use proxy even if it is configured to work behind a proxy when Mozilla VPN is inactive (globally disabled or not installed).

Tag issues related to this pull request:

Remove the use of the proxy if Mozilla VPN inactive, still load page in the dedicated container

fix mozilla#2570
@3nprob

3nprob commented Mar 20, 2025

Copy link
Copy Markdown

The proposed solution might be dangerous? Could cause involuntary VPN leak.

A specific error page explaining the situation and why the request was blocked (perhaps with a button to pass through anyway - similar to the flow for invalid TLS certs?) seems more on-point (albeit a more involved implementation)?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants