mozilla / multi-account-containers

Firefox Multi-Account Containers lets you keep parts of your online life separated into color-coded tabs that preserve your privacy. Cookies are separated by container, allowing you to use the web with multiple identities or accounts simultaneously.
https://addons.mozilla.org/firefox/addon/multi-account-containers/
Mozilla Public License 2.0
2.64k stars 322 forks source link

Confirmation page sends request for favicon from default container #2504

Open XANi opened 1 year ago

XANi commented 1 year ago

Before submitting a bug report

Step to reproduce

  1. Set container with proxy, set site to use the container
  2. open a new tab and type the site url to trigger "Open this site in your assigned Container?"
  3. at that point firefox sends the request via current container (or default)
  4. Request for favicon gets sent using original container

I'm getting something like this in my webserver logs:

Initial request when I got dialogue:

1.2.3.4 - - [10/Feb/2023:19:32:38 +0000] "GET /favicon.ico HTTP/1.1" 200 1078 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/109.0"

then I pressed F5:

1.2.3.4 - - [10/Feb/2023:19:32:41 +0000] "GET /favicon.ico HTTP/1.1" 200 1078 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/109.0"

and selected container (that was using different proxy):

5.6.7.8 - - [10/Feb/2023:19:32:49 +0000] "GET / HTTP/1.1" 200 2146 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/109.0"

First one happens when I get the "select container" dialogue and happens every time I force refresh the selection page.

Setting prompt to "remember decision" "fixes" it

Actual behavior

Selection dialogue sends request for icon using container that triggered the dialogue

Expected behavior

No request whatsoever is sent when user gets prompt about which container to use

Additional informations

No response

Provide a copy of Troubleshooting Information page (optional)

No response