amosproj / amos2021ws01-geo-data-search

Natural language and buzzword search on routing and places
MIT License
3 stars 1 forks source link

Send user query with spaces instead of + #122

Closed oliviadargel closed 2 years ago

oliviadargel commented 2 years ago

frontend sends user queries in the format: "query=word1+word2+word3", better would be "query=word1 word2 word3"

oliviadargel commented 2 years ago

Please inform backend if this task is done

weribell commented 2 years ago

The frontend submits the query encoded according to the application/x-www-form-urlencoded specification, which enforces this kind of encoding, where spaces are automatically replaced using the "+" sign. So to implement this we would have to switch to a different format. Please see my other comment for more info.

oliviadargel commented 2 years ago

solved in Backend at commit bdf4b3ecb933ea02a0665ec56ac458b099278d6e