bitwarden / android

Bitwarden mobile app for Android.
https://bitwarden.com
GNU General Public License v3.0
6.36k stars 797 forks source link

Android URI in 'Host' mode - https interpreted as http #968

Closed gitcatpeter closed 3 months ago

gitcatpeter commented 4 years ago

Describe the Bug

A bit similar to #803 App v2.4.2 When URI matching by 'host' is used, the auto-fill service does not find any matches for 'https://' sites.

Auto-fill dialog shows as expected, but with no credentials. When 'Go to my vault' is pressed it opens the vault not returning any matches "there are no items in your vault " (it shows only base domain, not the whole URL) A bit of light is shed when the app offers to save the missing credential. I can see the URL is correct, except for protocol: https is filled out as http.

That would explain no match, because the app is looking for http://address, instead of https://address

Steps To Reproduce

  1. Go to Chrome, enter some address beginning with https://, eg: https://myapp.mydomain
  2. Click on login field on the website
  3. Auto-fill dialog appears with no matches
  4. Press 'go to my vault'
  5. Vault opens with no matches
  6. Press 'Add an item' and scroll to URL
  7. The URI is filled with http://myapp.mydomain

    Expected Result

    URI is recognized correctly

Actual Result

URI is not recognized as https is changed into http

Screenshots or Videos

Environment

Additional Context

Happens regardless of 'Auto-Fill' service enabled or disabled. Thank you for your support!

vvolkgang commented 3 months ago

Issue migrated to https://github.com/bitwarden/mobile/issues/968