Website favicon only shows if hostname is first element #1121

Closed
opened 2025-11-26 22:39:34 -06:00 by GiteaMirror · 2 comments
Owner

Originally created by @adripo on GitHub (Oct 16, 2020).

Describe the Bug

Website Icon (favicon) only shows if website url (hostname) is in the first url element.
If the first url is an app link (eg. androidapp:// ) and the website url as second element, the favicon will not show.

Steps To Reproduce

  1. Go to 'My Vault'
  2. Click on 'Add Item'
  3. Select type 'Login'
  4. Insert random name, username, password
  5. In URIs section add first element as 'androidapp://example.com'
  6. In URIs section add New URI second element with website hotname 'http://github.com'
  7. Save

Expected Result

Credentials icon from website favicon.

Actual Result

Default item icon without customization.

Environment

  • Device: Xiaomi
  • Operating system: Android 9
Originally created by @adripo on GitHub (Oct 16, 2020). ## Describe the Bug Website Icon (favicon) only shows if website url (hostname) is in the first url element. If the first url is an app link (eg. androidapp:// ) and the website url as second element, the favicon will not show. ## Steps To Reproduce 1. Go to 'My Vault' 2. Click on 'Add Item' 3. Select type 'Login' 4. Insert random name, username, password 5. In URIs section add first element as 'androidapp://example.com' 6. In URIs section add New URI second element with website hotname 'http://github.com' 7. Save ## Expected Result Credentials icon from website favicon. ## Actual Result Default item icon without customization. ## Environment - Device: Xiaomi - Operating system: Android 9
Author
Owner

@archit9169 commented on GitHub (Nov 13, 2020):

I dont think this behavior is limited to only mobile. Browser extension also have the same behavior.

Possible fix: Add a check for default fav icon URI

@archit9169 commented on GitHub (Nov 13, 2020): I dont think this behavior is limited to only mobile. Browser extension also have the same behavior. Possible fix: Add a check for default fav icon URI
Author
Owner

@bugQ commented on GitHub (May 6, 2021):

Possible fix: Add a check for default fav icon URI

or just iterate until finding a favicon that actually exists

@bugQ commented on GitHub (May 6, 2021): > Possible fix: Add a check for default fav icon URI or just iterate until finding a favicon that actually exists
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/android#1121