IE 8 google error

I am trying to redirect traffic through a squid proxy which redirects to a windows based filtering program. I have an open ticket with the filtering company, however I wanted to see if anyone could help explain why I would get this error when I use IE 8 and type in "blocked words" using google as the search engine. I have tried using the same blocked words using IE 8 and yahoo as the search engine and it comes back with the correct blocked redirected screen, as well as firefox works correctly. It just seems to be in IE 8 using google.com as the search engine.

"Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; InfoPath.2; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; OfficeLiveConnector.1.4; OfficeLivePatch.1.3; .NET4.0C)
Timestamp: Tue, 27 Mar 2012 12:52:45 UTC


Message: Syntax error
Line: 1
Char: 1
Code: 0
URI: http://clients1.google.com/complete/search?client=hp&hl=en&sugexp=frgbld&gs_nf=1&cp=4&gs_id=d&q=blocked word"
LVL 1
philtukeyAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

ahoffmannCommented:
sounds like your proxy does not properly url-encode the passed URL (contains a space which should be + or %20)
0
steveoskhCommented:
Understanding the question.
If you use IE8 and Google as the search
   Search for  "ok term" brings back correct search results.
   Search for "blocked words or term" returns the error.
Is this correct, or does any search using Google result in the error?

Are you using the browser search (search term in URL box) or are you going to Google.com and doing the search.
0
philtukeyAuthor Commented:
Steveoskh - you are correct:
If you use IE8 and Google as the search
   Search for  "ok term" brings back correct search results.
   Search for "blocked words or term" returns the error.
The only time google returns the error is when I search for a blocked word, all other results display correctly.

I am going to google and in the search field typing in a blocked word. I have not used the address bar to search.

Thanks,

Phil
0
Protecting & Securing Your Critical Data

Considering 93 percent of companies file for bankruptcy within 12 months of a disaster that blocked access to their data for 10 days or more, planning for the worst is just smart business. Learn how Acronis Backup integrates security at every stage

philtukeyAuthor Commented:
It also seems to happen with IE 9 and google.com
0
steveoskhCommented:
Just for giggles, have you tried the search in the IE "InPrivate browsing" mode?

And you get the same results searching from the URL bar (will Google as the designated search in IE)?

If it happens from Google.com and the URL search then I think it is going to be between your filter solution and the browser.
If it does not happen when searching from the URL field, then there may be some setting for blocking popups or redirects that is interfering with your filter.

Are you running the google toolbar or some other Google helper in IE?
0
philtukeyAuthor Commented:
steveoskh -

InPrivate - Same error
URL Bar - works great!

No I am not running any toolbar or helper.

I have turned off pop up blocker not sure what you mean by re-directs.

Thanks for the suggestions.
0
philtukeyAuthor Commented:
Oh and all browsers except IE takes me to the right blocked word page, even when I use google.com. That is why I am 99% sure it has something to do with IE and google.com.
0
philtukeyAuthor Commented:
I do not know how or why but I think it has something to do with google safe search. When I do a google image search for "blocked Word" then it takes me to the correct filtering blocked page.
0
steveoskhCommented:
not sure what you mean by re-directs.
Your proxy is looking at the search terms and if bad, it re-directs the results to the filtering blocked page.
I assume in your example that "d&q=blocked word" was an actual bad word that you replaced with "blocked word".
Could it be that the search is making it through the proxy, but when the results are returned, the bad words ares stripped from the search string which causes the failed page load?
0
philtukeyAuthor Commented:
steveoskh -

"I assume in your example that "d&q=blocked word" was an actual bad word that you replaced with "blocked word"." Yes you are correct I replaced the actual blocked word with "blocked word".

If it was not for the fact that google.com in Firefox and google.com in google chrome, all return the correct blocked page message, then I would say that the search is making it through the proxy, but because it is only google.com on IE, then that is what leads me to conclusion that is something to do with IE and google.com.

Thank you for helping me work through this.
0
ahoffmannCommented:
there exists a "User Agent Switcher" add-on/extension for FF and Chrome, please add it to your FF or chrome and switch the user agent to IE and then try to search again at google.com
0
philtukeyAuthor Commented:
ahoffmann - I noticed that the User Agent Switcher is outdated, however there is an IE Tab add-on which was updated this month. I will try to use this add-on and let you know the result.

Thanks for the suggestion.
0
philtukeyAuthor Commented:
Ok opened firefox and opened a tab using the IE engine. Went to google.com and typed in a blocked work and got the same scripting error.
0
steveoskhCommented:
Your Google page searches are they going Http or Https (check address bar)?   We are using Google Apps and forcing use of Https.  When I do a search it reverts to HTTPS even if I change it to Http.
If the search is going out HTTPS your filter probably can not see the search terms.
If you are logged into Google, try logging out and then do your search.
0
philtukeyAuthor Commented:
Here is what I am supposed to get maybe this will help (not sure why I did not post this at the begininng

Reason: This Websense category is filtered: User-Defined. Keyword found: Block Word.

URL: http://www.google.com/search?q=blocked Word&rls=com.microsoft:en-us&ie=UTF-8&oe=UTF-8&st artIndex=&startPage=1

It does not appear to redirect to a https page.
0
ahoffmannCommented:
> however there is an IE Tab add-on
the IE tab add-on does not help in this case as it calls the IE engine and that's exactly what I want to compare, your observation that you get the same errors there is another indication that IE is the culprit
unfortunately it does not give new informations,
please use the User Agent Switcher (or any similar add-on)
0
philtukeyAuthor Commented:
You bet I will use the Agent Switcher this morning.
0
philtukeyAuthor Commented:
Ok so I used the User Agent Switcher like you suggested. I was able to get the correct blocked page when I was in Firefox using the IE 8 User Agent (if I am saying that correctly).

Hope that helps.
0
ahoffmannCommented:
ok, that helps, so we can be sure that it's a problem with your IE executable and not the sever or proxy, do you agree?
as you say you get a "script error" I assume thet the response page contains something which make IE crazy, can you please post the source of the page which causes the error from your IE
0
philtukeyAuthor Commented:
ahoffmann - Yes I do agree that is has something to do with Internet Explorer and not the Proxy or the server.

Yes I will post the source in a few minutes.

Thanks!
0
philtukeyAuthor Commented:
Attaching the HTML source code for the error

Thanks
IE-error.htm
0
steveoskhCommented:
Looking at the source code there is many references to https for example
https:function(){return window.location.protocol=="https:"}

Are you logged into google as a user when you are doing the search?   If so logout first to see if it makes a difference.

Forgive me if you have already tested this.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
philtukeyAuthor Commented:
steveoskh - I am testing this while not being logged into google, however I have tried it logged in and logged out of google and I get the same results.
0
steveoskhCommented:
Ok, thanx, I saw the http in the code sample and thought it might be an issue.  Looks that is not the issues.

I am tapped out on ideas.

Sorry,
0
philtukeyAuthor Commented:
no problem thanks for all your help steveoskh =)
0
philtukeyAuthor Commented:
Google seems to be where the issue lies.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Networking

From novice to tech pro — start learning today.