Skip to content

Links UI: spaced URLs are taken for valid and break the UI #740

@mzorz

Description

@mzorz

Originally reported in #716 (comment)

  1. start a draft, enter some text
  2. place the cursor on a word
  3. tap the link button
  4. in the URL field, insert something with a space in it, for example yahoo com instead of yahoo.com, and dismiss the links ui
  5. observe 2 different words are inserted where the cursor was, yahoo and com
  6. place the cursor on yahoo and tap the links button -> observe the links ui shows empty
  7. place the cursor on com and tap the links button -> observe the yahoo com (invalid) address appears there.

Metadata

Metadata

Assignees

No one assigned

    Labels

    [Type] BugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions