Skip to content

URL length not calculated correctly — Bsky shortens URLs over 32 characters #67

@simeon-s-gideon

Description

@simeon-s-gideon

Describe the bug
In Blue_Thread, when writing a post that includes a long URL, the character count is not calculated the same way as the official Bluesky app. Bsky automatically shortens any long URLs

Currently, Blue_Thread counts the full length of the URL, which can cause posts to be incorrectly rejected as over the 300-character limit.

To Reproduce
Paste https://github.com/simonetthomas/Blue_Thread/issues on Blue_Thread and the character count will show 51 characters

Expected behavior
If you paste the same url on bsky the character count is only 26 characters.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions