Autofill in android does not identify url port #1797

Closed
opened 2025-11-26 22:58:22 -06:00 by GiteaMirror · 8 comments
Owner

Originally created by @panoskpv on GitHub (Jan 31, 2024).

Steps To Reproduce

  1. Open a single word local domain (e.g. server:8080) in any browser
  2. Click to auto fill pop up
  3. App opens and site name in app is -- instead of site url

Expected Result

App opens and present password for server:8080

Actual Result

App opens and site name in app is -- instead of site url and no passwords are returned

Screenshots or Videos

No response

Additional Context

No response

Operating System

Android

Operating System Version

Android 14

Device

No response

Build Version

2024.1.1

Beta

  • Using a pre-release version of the application.
Originally created by @panoskpv on GitHub (Jan 31, 2024). ### Steps To Reproduce 1. Open a single word local domain (e.g. server:8080) in any browser 2. Click to auto fill pop up 3. App opens and site name in app is -- instead of site url ### Expected Result App opens and present password for server:8080 ### Actual Result App opens and site name in app is -- instead of site url and no passwords are returned ### Screenshots or Videos _No response_ ### Additional Context _No response_ ### Operating System Android ### Operating System Version Android 14 ### Device _No response_ ### Build Version 2024.1.1 ### Beta - [ ] Using a pre-release version of the application.
GiteaMirror added the bug label 2025-11-26 22:58:22 -06:00
Author
Owner

@jtodddd commented on GitHub (Feb 5, 2024):

Hi, may I ask if you are encountering basic auth prompts: https://bitwarden.com/help/basic-auth-autofill/ ?

@jtodddd commented on GitHub (Feb 5, 2024): Hi, may I ask if you are encountering basic auth prompts: https://bitwarden.com/help/basic-auth-autofill/ ?
Author
Owner

@panoskpv commented on GitHub (Feb 6, 2024):

Hello, as I can understand, this article is for computer version of Bitwarden. In my case, I have the issue with android version. I do not know if android version works that way. Also, Bitwarden Firefox extension works as expected.

@panoskpv commented on GitHub (Feb 6, 2024): Hello, as I can understand, this article is for computer version of Bitwarden. In my case, I have the issue with android version. I do not know if android version works that way. Also, Bitwarden Firefox extension works as expected.
Author
Owner

@panoskpv commented on GitHub (Feb 6, 2024):

As an update on the above (I do not know if I should edit my initial report), the actual issue is that Bitwarden does not recognize url port. More specifically, when I visit http://server:123, -- is presented in the app as I described above, and password saved only for http://server are returned.

@panoskpv commented on GitHub (Feb 6, 2024): As an update on the above (I do not know if I should edit my initial report), the actual issue is that Bitwarden does not recognize url port. More specifically, when I visit http://server:123, -- is presented in the app as I described above, and password saved only for http://server are returned.
Author
Owner

@jtodddd commented on GitHub (Feb 6, 2024):

Hi,

On the website that you're trying to autofill, is it doing a basic auth prompt and dropping you a prompt from the top or in the middle of the screen? Or are you just trying to fill a regular form on the website?

Apologies, I'm still trying to understand the issue. Is it possible that you share a screenshot of the prompt you're getting?

@jtodddd commented on GitHub (Feb 6, 2024): Hi, On the website that you're trying to autofill, is it doing a basic auth prompt and dropping you a prompt from the top or in the middle of the screen? Or are you just trying to fill a regular form on the website? Apologies, I'm still trying to understand the issue. Is it possible that you share a screenshot of the prompt you're getting?
Author
Owner

@panoskpv commented on GitHub (Feb 7, 2024):

In the below you can see that when I am at portainer (http://fileserver:9000), bitwarden returns result only for wallabag (http://fileserver(:80)). My match detection setting is starting with.
Screenshot_20240207-095937_Fennec
You can see also the screen when I tap to my vault where "Items for --" appears instead of the url.
Screenshot_20240207-095918_Bitwarden

@panoskpv commented on GitHub (Feb 7, 2024): In the below you can see that when I am at portainer (http://fileserver:9000), bitwarden returns result only for wallabag (http://fileserver(:80)). My match detection setting is starting with. ![Screenshot_20240207-095937_Fennec](https://github.com/bitwarden/mobile/assets/84382461/09828c8d-2121-466e-b08e-36f3c38cf722) You can see also the screen when I tap to my vault where "Items for --" appears instead of the url. ![Screenshot_20240207-095918_Bitwarden](https://github.com/bitwarden/mobile/assets/84382461/b835c168-686c-4c48-a598-0e6007aff01f)
Author
Owner

@Seedthis commented on GitHub (Feb 8, 2024):

As far as I know, it's not a "bug" but rather a limitation of the Android autofill API.

There are details about it in this issue : https://github.com/bitwarden/mobile/issues/578

@Seedthis commented on GitHub (Feb 8, 2024): As far as I know, it's not a "bug" but rather a limitation of the Android autofill API. There are details about it in this issue : https://github.com/bitwarden/mobile/issues/578
Author
Owner

@uniquePWD commented on GitHub (Apr 4, 2024):

Is there not another, more modern approach that can be made to fix this issue?

Even setting it to exact doesn't autofill for hostname:port

@uniquePWD commented on GitHub (Apr 4, 2024): Is there not another, more modern approach that can be made to fix this issue? Even setting it to exact doesn't autofill for hostname:port
Author
Owner

@vvolkgang commented on GitHub (Jun 20, 2024):

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

@vvolkgang commented on GitHub (Jun 20, 2024): Issue migrated to https://github.com/bitwarden/mobile/issues/2970
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/android#1797