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

search: don't unquote DDG result #1713

Merged
merged 1 commit into from
Nov 11, 2019
Merged

search: don't unquote DDG result #1713

merged 1 commit into from
Nov 11, 2019

Conversation

dgw
Copy link
Member

@dgw dgw commented Oct 18, 2019

Bing doesn't need it. Unquoting breaks URLs that contain spaces.

#1265 and associated changes later in the 6.x cycle introduced this unquoting, without any clear reason why. It doesn't appear to fix anything (not that my suite of test queries is that exhaustive).

As a bonus, we shed the entire block of py2/py3 shimming for unquote.

Also of note: This reduces the core plugin set's need for #1681, but it'll still be good to have.

@dgw dgw added the Bugfix Generally, PRs that reference (and fix) one or more issue(s) label Oct 18, 2019
@dgw dgw added this to the 7.0.0 milestone Oct 18, 2019
@dgw dgw requested a review from a team October 18, 2019 20:06
@Exirel
Copy link
Contributor

Exirel commented Nov 9, 2019

Another conflict! I believe this is also related to quote/unquote refactor, and nothing to worry about that much.

Bing doesn't need it. Unquoting breaks URLs that contain spaces. This
changed in #1265 but it's not clear why.

As a bonus, we shed the entire block of py2/py3 shimming for `unquote`.
@dgw dgw force-pushed the search-duck-whitespace branch from b50550e to 5755921 Compare November 9, 2019 15:12
@dgw
Copy link
Member Author

dgw commented Nov 9, 2019

Easy rebase. 😸

Copy link
Contributor

@Exirel Exirel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🙀

@dgw dgw merged commit 96f030b into master Nov 11, 2019
@dgw dgw deleted the search-duck-whitespace branch November 11, 2019 19:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bugfix Generally, PRs that reference (and fix) one or more issue(s)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants