bitwarden / android

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

BW APP for Android fails to auto fill using Starts With match detection #3910

Open andreaippo opened 6 days ago

andreaippo commented 6 days ago

Steps To Reproduce

This refers to the BW Android app

  1. Leave default match detection as it is
  2. Create an entry with a URI that overrides match detection to Starts With, e.g. http://192.168.1.1/myApp
  3. Go to http://192.168.1.1/myApp

Expected Result

BW proposes to autofill

Actual Result

BW does not propose to autofill

Screenshots or Videos

Screenshot_20240911-224338 Screenshot_20240911-224351 Screenshot_20240911-224411 Screenshot_20240911-224417

Additional Context

I need Starts with because I don't have just myApp hosted on my server, but several ones, each with its login info.

Therefore I need other entries for myApp2 etc under the same host.

Operating System

Android

Operating System Version

Android 14

Web Browser

Firefox

Browser Version

130.0

Build Version

Versione: 2024.8.1 (19099)

Issue Tracking Info

andreaippo commented 6 days ago

I susepct that BW is not considering the full URI when looking up the vault. The 2nd screenshot shows a message saying "No element for 192.168.1.2", but it should've been looking for http://192.168.1.2/radar/login and so on...

Maybe the URI gets truncated too aggressively and no match could be found as a consequence?

andreaippo commented 6 days ago

Same problem with app 2024.5.1-10574.

I'm starting to think that it's by design...but then how can I have only ONE perfect match for each of my apps? They're all hosted on the same server, my home lab. Thanks

bitwarden-bot commented 6 days ago

Thank you for your report! We've added this to our internal board for review. ID: PM-11999