Skip to content

[Bug]: Invalid profile links can prevent saving an existing profile #1882

Open

Description

@piotr-iohk

What happened?

Edit Profile accepts a link as long as its label and value are nonblank. When the app publishes the profile to pubky.app, an invalid URL, a label longer than 100 Unicode code points, or a URL longer than 300 code points can cause the publish request to fail. One invalid link blocks saving the other profile edits until the link is corrected.

Expected behavior

Validate new and edited links against the same rules as the publisher. Show which link needs correction before the profile save, and continue to accept inputs the app can normalize, such as a bare domain, email address, or phone number.

Steps to Reproduce

  1. Open Edit Profile for an existing profile already published to pubky.app.
  2. Open Add Link, set the label to Website and the URL to not a URL, then save the link.
  3. Make another profile edit and tap Save on the profile.
  4. Repeat with a valid URL and a label longer than 100 characters.

Logs / Screenshots / Recordings

Identified in code review. Link form, Greptile finding.

Bitkit Version

3.1.1 release candidate, build 197. The same save path is present on master.

Device / OS

Device reproduction pending.

Reproducibility

The form and publisher apply different validation rules. Device reproduction pending.

Additional context

Android #910 proposes broader profile and contact bounds. This report covers a save failure when adding or editing a link on an already published profile.

Activity

  1. added theissue type on Nov 12, 2026
  2. added this to the 3.2.0 milestone on Nov 12, 2026
  3. ovitrif commented on Nov 12, 2026

    @ovitrif
    Collaborator

    Triage: milestone 3.2.0, Bitkit project To do. The pubky.app profile editor shipped with this bug, and the same save path is on master. @piotr-iohk, if you want it fixed for 3.1.1 instead, say so here and we take it on the release branch.

  4. modified the milestones: 3.2.0, 3.3.0 on Nov 25, 2026
  5. ovitrif commented on Nov 25, 2026

    @ovitrif
    Collaborator

    Triage: moved to the 3.3.0 milestone. 3.2.0 now holds only the Spark release work and nearby payments (NFC and Bluetooth).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions