Google is breaking the Web

Tue, Oct 18, 2011 06:09 PM
So, Google announced today that they would start doing a couple of new things. First, they are going to start sending all logged in users to their SSL enabled search page. Secondly, they claimed they are going to stop sending search terms to the sites in the referring URL. They claim all of this for your security. The first one I buy. SSL is better for those people on public wifi, no doubt. The second, I don't think so.

Let's back up a step. For those that don't know how the web works, this is a quick lesson. When you click on a link on a site, your browser connects to that new site to get the page. Part of that communication is to tell the site you are going to what site the user was on when they clicked on your URL. This is a good thing. There is never any information passed between Google and your site. Its all between your browser on your computer and the site you are asking your compter to load. It helps site owners know who is linking to them. In the case of search engines, the referring URLs often contain the search terms someone typed in to find their site. This is also helpful for lots of reasons. None of them involve a user's security.

Ok, so, Google claims they are going to remove your search terms. But, my tests show they are removing the whole referring URL. Yes, you will not know what users are coming from Google. Let me show you. This is what I did.
  1. I typed into my browser
  2. I searched for dealnews
  3. I clicked on the first link, which is the front page.
Using a tool called HTTPFox I am able to see what information is being passed between my computer and the web sites. This is what I see:
  1. with no referring URL
  2.,or.r_gc.r_pw.,cf.osb&fp=7b65204da701ddb7&biw=1295&bih=1406 with no referring URL because Google use javascript to load the search results.
  3. with a referrring URL of
  4. with a referring URL of
As you can see, the request to was sent a URL by my browser telling that site that Google was linking to dealnews. In that URL you will see q=dealnews. That is the search term I typed into Google. Now, lets see what happens when I do the same thing on SSL.
  1. with no referring URL
  2. Redirected to with no referring URL
  3.,or.r_gc.r_pw.,cf.osb&fp=47f2f62d0e6da959&biw=1295&bih=1406 with no referring URL because Google use javascript to load the search results.
  4. with a referring URL of
  5. with no referring URL.
So, if does not get a referring URL, how do we know this came from Google. This is the quote from the Google blog post:
When you search from, websites you visit from our organic search listings will still know that you came from Google, but won't receive information about each individual query.
I ask you how the site will know that if there is no referring URL? Referring URLs are a fundamental part of the web. If Google wants to strip data off the URL, that is one thing. It is not great IMO, but whatever. But, not sending referrers at all is  just wrong and should be changed.

If you care, please share this post. Tweet it, +1 it, whatever. This is just bad news for the web.

Edit: I wanted to make sure everyone knew, I observed the same behavior in both Firefox 7 and latest Google Chrome

Edit 2: I have also confirmed with the Apache access logs that no referring URL was sent.
Gravatar for Forum Software Reviews

Forum Software Reviews Says:

Hi Brian,

From what I remember, it's part of the HTTPS rules: you are not supposed to transmit the refer(r)er using SSL, I would say for security reasons (even if everything is actually crypted...)

Gravatar for Brian Moon

Brian Moon Says:

As of yesterday, I had referrers in my Apache access logs.

Gravatar for Craig

Craig Says:

I'm pretty sure this is the expected behavior. Perhaps the better question would be why/how you were getting it before. I'm pretty sure the http referrer is stripped at the client/browser level when coming over SSL.

Gravatar for Gerd Riesselmann

Gerd Riesselmann Says:

It has been said above: It's part of the HTTP spec to not send referer when going from https to http as in this case. Sending referers is the job of the browser, and there's nothing Google could do about it.

So, actually no: Google is not breaking the web. Unless you think that https itself is breaking the web.

Gravatar for Brian Moon

Brian Moon Says:

Ok, I learned something. I like learning something. But how do we interpret Google's claim that you will still know the link came from google?

Gravatar for Simon King

Simon King Says:

It looks like Google is providing some of this missing data via the Webmaster tools. Not exactly the same, but it's something. More info here:

Gravatar for Forum Software Reviews

Forum Software Reviews Says:

After some searches, I finally found where I read this absence of Referrer when using HTTPS:

Gravatar for Gennady Lager

Gennady Lager Says:

That Google Webmaster Tools data is very much inaccurate and useless to the point of needing to be ignored:

Gravatar for Suter

Suter Says:

Hmm, I can see Referrer header in request from search results page even though it's served from https page.

The header is missing in requests from

Gravatar for Destrey

Destrey Says:

Knowldgee wants to be free, just like these articles!

Gravatar for Nick  the 2nd grade math tutor

Nick the 2nd grade math tutor Says:

Google is making it more complicated to use its own search for ordinary users such as many tutors at our learning center still don't understand html and but to care about their online privacy. I think the general public even don't get aware of when these changes take place and they got replaced by some new ones.

Gravatar for XProCreative

XProCreative Says:

What I want to know is... Is Google or any other search engine for that matter able to see what sites are referring users to your site? For example: Site A links to site B... someone clicks on the link from site A and ends up on site B ... Are the search engines able to view your web logs and see that someone was referred from Site A?

Gravatar for Brian Moon

Brian Moon Says:

@XProCreative well, there are at least 3 ways they can know that.

1. Google Toolbar. Anyone that has that installed communicates with Google about what sites they visit by default.

2. Google Analytics. Have you ever wondered why Google would give this away for free? Adobe's Omniture product costs lots of money. Google gives it away for free for the data it gives them

3. Google AdSense. Anyone that uses Google ads is providing data to Google on behalf of their users. So, any two sites that are linked that are using Google AdSense would give Google information about what sites users visit.

Gravatar for XProCreative

XProCreative Says:

@Brian ... Thanks for you answer, I agree with that. I've had someone people say that google can just see it somehow. I figured without analytics they wouldn't know for sure what referrers you have.

With that said, do you then think that Google uses that data to raise or lower your search ranking? I would think they would.. they have a huge piece of information right in front of them... why wouldn't they use it. Therefore, i believe Anyaltics could very well be using that data to benefit and hurt websites in google results.

Comments are disabled for this post.