StractOrg / stract

web search done right

Home Page:https://stract.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Missing URL encoding for WolframAlpha bang

oeb25 opened this issue · comments

The bang !wa 1 + 5 + 102 redirects to WolframAlpha correctly, but the expression does not seem to be encoded correctly, since the input query on WA is 1 5 102 missing the +'s.

The given URL query is ?i=1+++5+++102, while the expected is ?i=1+%2B+5+%2B+102.

Thanks for the thorough bug report. I knew exactly where to look because of it.
You were completely right: the queries did not get properly url encoded when sent to the matching bang services. This should now have been fixed in #83