Closed PrivatePuffin closed 4 years ago
This problem mostly shows with websites that host a login page on a sub page, but don't host anything on the login subdomain itself.
Another example:
https://signin.ea.com/
doesn't host anything (and errors out on the favicon too)
Because this is the real login page:
https://signin.ea.com/p/web2/login*LOGIN DATA STRING*
Well the clients only send the subdomain and domain, in this case the server gets https://signin.netapp.com
, so if the image can't be obtained from there then there isn't much we can do other than hardcode the value.
@dani-garcia Thats quite a major design oversight by upstream. As favicon locations are not actually standardised at all. But indeed, not yours to fix, you can't magically summon what you don't have.
Thanks for the reply :)
Subject of the issue
It seems Bitwarden_rs always tries to download favicons from domain-root and ignores actual favicon settings on the login page. this leads to an abundance of errors/warnings and timeouts.
Your environment
Steps to reproduce
Add a login for this site: https://signin.netapp.com/oamext/login.html
Look at the logs, notice it tries to download the favicon from:
http://signin.netapp.com/favicon.ico
Notice how it fails to download the icon.Now look at the page network tab, notice the actual URL for the favicon is:
https://signin.netapp.com/oamext/images/favicon.ico
Now look at the page source, notice that the favicon is described here:
Expected behaviour
It should respect the favicon setting of the login pages.
Actual behaviour
It always tries to grab domain-root favicons and totally ignores actual favicon settings.
Relevant logs