Skip to content

[PM-29763] Application Crash During Autofill with Illegal Special Characters in URI #6266

@guillaumenibert

Description

@guillaumenibert

Steps To Reproduce

  1. Save a Login entry with illegal special characters in the URI field: turn:198.51.100.1:5349[Password1234][] (not https://turn:198.51.100.1:5349[Password1234][]).
  2. Attempt to use the Android keyboard autofill feature on any site or application.
  3. The autofill crashes and stops working for all sites and applications.

Expected Result

The application should handle illegal characters gracefully, either by sanitising the input or by displaying an error message before saving the new Login entry, rather than crashing the autofill feature.

Actual Result

The autofill crashes and becomes unusable across all sites and applications.

flight_recorder_2025-12-10_12-03-22_anonymised.txt

Screenshots or Videos

Image

Additional Context

Since the Android Native update (2024.10.1), the autofill feature no longer works when certain illegal special characters are present in the URI field of a Login entry. Even a single Login entry with such characters causes the autofill to crash entirely.

While users should avoid including special characters at the end of a port or in the URI, mistakes or intentional inputs can happen.

Build Version

2025.11.1 (20994) - release/fdroid

What server are you connecting to?

US

Self-host Server Version

No response

Environment Details

No response

Issue Tracking Info

  • I understand that work is tracked outside of Github. A PR will be linked to this issue should one be opened to address it, but Bitwarden doesn't use fields like "assigned", "milestone", or "project" to track progress.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions