Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: & not escaped in searches #151

Open
Efreak opened this issue Oct 31, 2020 · 0 comments
Open

Bug: & not escaped in searches #151

Efreak opened this issue Oct 31, 2020 · 0 comments

Comments

@Efreak
Copy link

Efreak commented Oct 31, 2020

It seems that lynket isn't properly escaping special characters in search URLs. I tapped a suggestion for life & times, and got a search for life. I tried typing it out myself instead of using a suggestion, and the same issue applied. The URL lynket sends me to is https://duckduckgo.com/?q=life+&+times=&ia=web; note that the & in the query is not escaped.

An easy way to tell if the ampersand specifically should be escaped (without trying to parse the entry as a URL) is to check for spaces indicating a search instead of a URL.

Edit: I thought I was clicking a close window button that unexpectedly popped up. Thx, GitHub app...

@Efreak Efreak closed this as completed Oct 31, 2020
@Efreak Efreak reopened this Oct 31, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant