question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Provide a way to disable {searchTerms} escaping on a search engine basis

See original GitHub issue

Hi,

As per this comment, it seems that there is a use for *not* escaping {searchTerms} with some search engines. An example of such an engine is the Wayback Machine, which will not support a network request such as https://web.archive.org/web/*/https%3A%2F%2Fgithub.com%2F and really need https://web.archive.org/web/*/https://github.com/ in order to work.

Some use cases involve selecting text that happens to be a valid URL, or pasting a valid URL in SSS’s pop-up text field, in order to search for it.

The feature you seem to have in mind to answer this is to give the user a way to disable escaping, at least for {seachTerms}, on a search engine basis. Maybe you were thinking of an UI option, like the current text encoding drop down menu, or maybe of new syntax, like {searchTerms(noEscape)}, or maybe something else entirely.

Thanks for your time!

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
LegitLlamacommented, May 23, 2020

@ZIEXED Sorry if that was confusing. I should have been clearer, especially considering that URL encoding is a security feature. I didn’t expect many of my search engines not to use it, only the most unusual ones. For example I checked DeepL, it uses a POST request with JSON in which the user input is not escaped client-side. But SSS makes GET requests so it’s irrelevant, I can’t hide that I’m one of only a few people to request translations in this way, regardless of URL encoding being disabled or not. In that case, might as well keep it.

Even now I still haven’t found an engine other than the Wayback Machine where it makes sense to disable escaping. I don’t have that many though.

1reaction
CanisLupuscommented, May 22, 2020

I see. 😃 Btw, spaces are sometimes encoded as + (ex.: Google), but %20 is the proper encoding.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to escape Google's filter bubble
Here, we look at how, as a user, you can escape Google's filter bubble - and as an SEO, how you can penetrate...
Read more >
DuckDuckGo: Escape your search engine filter bubble
Turn off personalization by adding "&pws=0" to the end of your search url on Google. You can also use incognito mode in Chrome....
Read more >
Search: Queries that include special characters return no results
When clicking a search suggestion no results are returned/found. No results are returned when searching with escaped special characters. Auto ...
Read more >
Documentation: 15: 12.3. Controlling Text Search
To present search results it is ideal to show a part of each document and how it is related to the query. Usually,...
Read more >
6. Search Methodologies
If there is a set of special characters, what the special characters are, and how an escape character is specified. If there is...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found