willfarrell / alfred-caniuse-workflow

Alfred App Workflow for caniuse.com
MIT License
405 stars 23 forks source link

Decode url encoded queries #19

Closed rsify closed 6 years ago

rsify commented 6 years ago

First off, thanks a lot for the workflow. As helpful as it is, I've noticed that the searches don't seem to want to include anything that contained spaces.

After a little digging I've found a potential fix, though as a php noob I'm not sure if this is the right approach.

Before:

screen shot 2018-01-24 at 17 01 39

After:

screen shot 2018-01-24 at 17 02 19

Judging by the logs and the workflow's behaviour I couldn't find anything that the change could break 😄.

Let me know if the PR's good and I'll update it with updated version numbers & exported .alfredworkflow file.

willfarrell commented 6 years ago

Good catch, thanks.