sophie-glk / bang

A firefox addon which adds bangs (known from duckduckgo) to various search engines.
MIT License
46 stars 5 forks source link

urls in search query (such as for the wayback machine) do not work #22

Closed aekaisato closed 1 year ago

aekaisato commented 3 years ago

When searching a URL with DuckDuckGo, for example using the Wayback Machine, the URL is converted back into regular plaintext (the url of the search as an example would be https://web.archive.org/web/*/https://www.startpage.com/). Using this extension, the text is still URI encoded, instead searching https://web.archive.org/web/*/https%3A%2F%2Fwww.startpage.com%2F which does not work properly as a search.

babastienne commented 3 years ago

Could you give an example of your problem ? I cannot reproduce your issue.

Steps that I tried to reproduce :

I tried the same steps with the extension on firefox and got the same result : the URI is not encoded in both ways.

If you could give more information it would be great (steps to reproduce the issue, version of browser, version of the addon).

aekaisato commented 3 years ago

Yeah, sorry about the lack of info. I'm currently on Firefox 90.0.2 on EndeavourOS/Arch. I used !wayback in DuckDuckGo, which works as intended. (Strangely, !wayback works but !wbm doesn't).

Steps to reproduce:

Steps to intended result (using DuckDuckGo):