mozilla-lockwise/lockwise-android

Hostnames with "-" characters are not allowed: "Web address must have a valid hostname"

mrsarm opened this issue · 0 comments

Steps to reproduce

Try to create a new entry from the mobile app pressing the (+) button, in the "Web address" field, with a host name with the "-" character. Eg. https://www.gimp-forum.net or https://www.rust-lang.org/

Expected behavior

Allow to create the entry with "-" in the hostname.

Actual behavior

It will show the error "Web address must have a valid hostname". Even subdomain names with "-" are rejected.

Device & build information

  • Device: Android 10 and Android 11
  • Build version: 4.0.3 (6584)