Skip to content

Malformed Bluesky profile URLs throw an internal URIError #727

@rissrice2105-agent

Description

@rissrice2105-agent

Problem

Passing a Bluesky profile URL with malformed percent-encoding to the social follow target parser throws a raw URIError: URI malformed from decodeURIComponent. This exposes an internal implementation error instead of a useful CLI validation message.

Reproduction

parseSocialFollowTarget('https://bsky.app/profile/%E0%A4%A')

Expected behavior

Reject the malformed profile URL with a clear user-facing error.

I have a focused regression test and small validation fix ready.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions