Bug Turns Google “Anti-SafeSearch” On, Provides Porn Results
There’s a strange bug on Google where search queries that should return no matches are instead turning Google into a porn search engine, almost as if an “anti-SafeSearch” feature is being enabled. Impossible Queries = Porn! The Verge highlighted a Quora post about the bug, where doing some searches for “contradictory” or impossible to solve […]
There’s a strange bug on Google where search queries that should return no matches are instead turning Google into a porn search engine, almost as if an “anti-SafeSearch” feature is being enabled.
Impossible Queries = Porn!
The Verge highlighted a Quora post about the bug, where doing some searches for “contradictory” or impossible to solve queries brings back porn listings.
For example, queries like the ones below currently do this (and be forewarned, you’re going to get porn results at Google if you click on these links):
Here’s an example of what the first query brings back, which I’m showing because the descriptions themselves are fairly “safe” even though the content they lead to is adult in nature (for some of the other queries, the descriptions can be graphic):
Impossible Queries?
In each of the searches above, you’re asking Google to find things that should have no matches. For example, this:
- -s “s 2”
means you’re asking Google to find pages that do not have the letter S on them but which have the letter S in a phrase like “s 2.” It should be impossible to find a match for this. If there’s the phrase “s 2” on a page, then the letter S will also be on that page.
The use of numbers seems to be key to causing the anti-SafeSearch to kick in (SafeSearch is a feature from Google designed to filter out porn results). For example, a query like this:
- -title title
comes up with a message that no results could be found, rather than a set of porn results.
It’s Not A Feature; It’s A Bug
Why is this happening? Google doesn’t know. Google software engineer Jeremy Hoffman commented in the Quora thread, saying it was a bug:
As a web search query, [-4^(1/4)] is interpreted like [-4 “1 4”], as in “Find me pages which contain a 1 next to a 4, but which do not contain a 4.” This should return zero results, because it is impossible to satisfy both requirements.
However, we have uncovered a bug that causes some web pages to “match” these contradictory queries. Since these are the only results that “match” the query, they are the results that get shown. We are working on a bug fix. Thanks to the Quora community for bringing this to our attention.
Somehow, somewhere buried in all the code that Google uses to rank websites, these types of queries seem to be triggering results for sites that match adult content. No doubt the bug will be fixed shortly. In the meantime, for those who want that, enjoy Google XXX.
Related Articles
- Google SafeSearch Filter Bug: Porn Found On Google Universal Search Results
- For “Define An English Person,” Google Suggests The C-Word
- At Google Images, “G” Is For “Girls In Bathrooms”
- Santorum’s Changing “Google Problem” — & Search Engine Land — Make The Rachel Maddow Show
- Google Updates SafeSearch Filter In Image Search
Contributing authors are invited to create content for Search Engine Land and are chosen for their expertise and contribution to the search community. Our contributors work under the oversight of the editorial staff and contributions are checked for quality and relevance to our readers. The opinions they express are their own.
Related stories
New on Search Engine Land