Google SafeSearch policy causes images and other elements of Google's search results page not to display

book

Article ID: 168779

calendar_today

Updated On:

Products

ProxySG Software - SGOS

Issue/Introduction

If you install the SafeSearch policy from KB 000021435, Google searches for a specific website show the website in results, but with some elements (such as images or Google maps) on the web site missing. After refreshing the page, the browser shows everything correctly.

Notes:

  • This does not appear to affect every Google domain. Google.com does not appear to have the issue, but the issue occurs on google.de and google.co.uk.
  • This only happens if you press Enter to execute the search. 

 

 

Resolution

Workaround

Turn off the instant search function of Google search, use the following rewrite (put this above the safe search policy):

<proxy> condition= BC_SafeSearch_Google_Domains

url.query.regex = "ion=0"
action.googlerewrite(yes)

define action googlerewrite
rewrite(url, "(.*)", "$(1)?complete=0&ion=0")
end


The "ion=0" string forces google instant to be disabled and  "complete=" disables autocomplete. For more information, see http://code.google.com/p/chromium/issues/detail?id=110598.

Alternatively, you can disable instant search in the user's Google account settings.