Skip to content

Handle whitespace in social links username display #6419

@uw-amy-bordenave

Description

@uw-amy-bordenave

Description

Bug Report: Display username is truncated at whitespace in HDYC link.
Note: Link functionality itself is not impacted and works as expected.

URL

https://www.openstreetmap.org/user/UW%20Amy%20Bordenave

How to reproduce the issue?

  1. Open OSM /user/ page
  2. "Edit Profile Details"
  3. "Edit Links"
  4. "Add Social Link"
  5. Enter in a URL to HDYC that contains spaces (or percent-encoded spaces), ex. https://hdyc.neis-one.org/?UW Amy Bordenave or https://hdyc.neis-one.org/?UW%20Amy%20Bordenave
  6. Note that the display username is cut off at the space.

Screenshot(s) or anything else?

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions