Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

URL incorrectly taken into account in grapheme counts #17

Open
Chilsort opened this issue Jan 15, 2024 · 0 comments
Open

URL incorrectly taken into account in grapheme counts #17

Chilsort opened this issue Jan 15, 2024 · 0 comments

Comments

@Chilsort
Copy link

Hello,

Thanks for the app!

I'm using bsky version 0.0.53.

When posting a message containing an URL, I noticed that all the symbols of the URL seem to be taken into account to determine whether the message is too long.

For instance

$ bsky post "Test: https://google.com?q=thisisaveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryverylongquery"
failed to create post: XRPC ERROR 400: InvalidRequest: Invalid app.bsky.feed.post record: Record/text must not be longer than 300 graphemes

However when posting this message directly from BlueSky, this works.

Thanks for your help!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant