-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
[Bug] Incorrect search behavior if the query contains non-English letters or words. #2140
Comments
Thanks for reporting this :) NB: Snopyta seems to work for me. For the record, hare are the different instance versions, at the time of report:
And btw @tenpura-shrimp, your instance is not properly redirecting to HTTPs, and will need to be updated soon if you wanna stay in the official list :) |
@noname946 Interesting findings. @SamantazFox Do you think this could be related to the fact that #1985 changed something with the encoding on the search endpoint? |
It's called URL encoding ^^ Basically, some characters (like
This is very likely, yep... I'll investigate and try a fix tonight or tomorrow. |
Patch live at https://test.invidious.io @Mennaruuk @noname946 can you please try it? I'll make a PR in the meantime. |
Search results are relevant again!!! Thank you sooo much. |
@Mennaruuk you're welcome :) |
@SamantazFox Checked the search for "+100500" and "Фильмы ужасов", now the search results match the expected behavior and there are no more "garbage" videos. |
Describe the bug
When trying to do a video search, if the query contains non-English letters or words, the search instead of what I entered in the query returns garbage in the search results.
And this is the case with all queries that contain non-English letters or words, which makes it almost impossible to use the search.
What's strange is that not all instances are affected by this problem, but only a certain part of them.
Attempts to experiment with the search filter parameters did not help either, the search results are still garbage.
Instances that are affected by this issue:
invidious.snopyta.org
yewtu.be
invidious.silkky.cloud
Instances that are not affected by this issue:
invidious.048596.xyz
inv.riverside.rocks
Steps to Reproduce
Try to enter a search, for example "Фильмы ужасов".
Expected behavior:
In the search results should appear videos, one way or another related to the horror genre.
Actual behavior:
The search results return "garbage" videos that have absolutely nothing to do with the horror genre.
Screenshots
Screenshot 1 which was taken on the instance yewtu.be is affected by this issue and is the actual behavior.
Screenshot 2 which was taken on the instance inv.riverside.rocks is not affected by this issue and is the expected behavior.
Additional context
The text was updated successfully, but these errors were encountered: