Comment 12 for bug 395910

Revision history for this message
Bburst (bbaiyfb) wrote :

What seems to make exaile bug is the combination of quotes and spaces.
For instance, <<Belleville>>, <<Belle ville>> and <<"Belleville">> work but <<"Belle ville">> fails.

I *think* the problem lies in xl/trackdb.py, in TrackSearch.tokenize_query.
At some point, it does <<tokens = search.split(" ")>>. But if the space appears inside the quotes, it should not split.

I provide a patch but I'm quite unsure that it is correct. However, it does solve my <<"Belle ville">> problem.