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

Can't open long hashtag link #11285

tateisu opened this issue Jul 11, 2019 · 2 comments


None yet
2 participants
Copy link

commented Jul 11, 2019


link to hashtag:

Expected behaviour

open hashtag public page

Actual behaviour

400 or show white blank page

not only public page, also API returns 400

Steps to reproduce the problem



This comment has been minimized.

Copy link
Contributor Author

commented Jul 11, 2019

I think we have to limit hashtag by length of "urlencode", not raw characters.

@tateisu tateisu changed the title Can't ope nlong hashtag link Can't open long hashtag link Jul 11, 2019


This comment has been minimized.

Copy link

commented Jul 13, 2019

The length of the encoded URL is 3686 characters. There's a question on stackoverflow about the maximum URL length per browser. We could use the suggested limit of 2000 or 2048 characters. I don't know the current limit nor where it is defined in the Mastodon source code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.