Seems to have issues with queries containing more than 3 spaces (testing with 1337x)
Straafe opened this issue · 3 comments
If I add more than 3 "words" to the query, the request hangs indefinitely. It is easy to reproduce and the words don't seem to matter, as soon as the request has 3 spaces it ceases to ever respond for some reason. For example:
This request works fine:
localhost:8009/api/v1/category?site=1337x&query=Christmas%20at%20the&category=movies&limit=10
But then when you add a word to complete the movie title, it will hang and never respond:
localhost:8009/api/v1/category?site=1337x&query=Christmas%20at%20the%20chalet&category=movies&limit=10
I was hoping someone might be able to help me find a workaround to this. It could be the number of characters, not entirely sure, but seems to always happen once I add that fourth word. Using a different site (piratebay) and normal search endpoint, it seems to work fine with 4 words, but with 1337x something is going wrong.
@Straafe Thank you for the detailed information, I really appreciate it.
I will look into it and let you know ASAP.
Awesome!