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

Properly handle Arabic hashtags #5545

Merged
merged 1 commit into from
Aug 12, 2024

Conversation

absidue
Copy link
Member

@absidue absidue commented Aug 8, 2024

Properly handle arabic hashtags

Pull Request Type

  • Bugfix

Related issue

closes #5544

Description

Arabic hashtags are URL encoded, currently we don't handle that on the hashtag page, this pull request fixes that by passing the hashtag path parameter through decodeURIComponent before we use it.

Screenshots

See the screenshot in the linked issue

Testing

Click the Arabic hashtag at the bottom of this video description https://youtu.be/woVO0up0Vj4 it should open normally.

Desktop

  • OS: Windows
  • OS Version: 10
  • FreeTube version: 0.21.3

@github-actions github-actions bot added the PR: waiting for review For PRs that are complete, tested, and ready for review label Aug 8, 2024
@FreeTubeBot FreeTubeBot enabled auto-merge (squash) August 8, 2024 20:57
@FreeTubeBot FreeTubeBot merged commit 5d1a9ec into FreeTubeApp:development Aug 12, 2024
5 checks passed
@github-actions github-actions bot removed the PR: waiting for review For PRs that are complete, tested, and ready for review label Aug 12, 2024
@absidue absidue deleted the url-encoded-hashtags branch August 12, 2024 21:01
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

Successfully merging this pull request may close these issues.

[Bug]: Invalid hashtag links when not using ASCII
5 participants