Forum Moderators: Robert Charlton & goodroi

Message Too Old, No Replies

Google rewrites my URL with #

         

Hugene

1:28 pm on Oct 30, 2009 (gmt 0)

10+ Year Member



Hello,

There is something strange and scary happening on my site: I have php URLs, of the form:
index.php?widget=1&other=2

When the page contains a YouTube video imbeded in it, my page first loads, and then re-loads with a new URL like:
index.php?widget=1#at

and then I see that Firefox is doing "read i1.ytimg.com" in the status bar.

At first I got freaked out and I thought I was hacked.

I sniffed the packets coming out of my machine and I see the following "GET http://i1.ytimg.com/crossdomain.xml HTTP/1.1", and a WHOIS search reveled that ytimg.com is owned by Google.

Other strange behavior, this is only happening on a Linux/Firefox 2.0 machine.

On my Win/Firefox 3.5 machine I just see:
"GET http://i4.ytimg.com/vi/w_[string of letters]/hqdefault.jpg HTTP/1.1 " and no URL re-witting.

Anyone has noticed this or knows why it is happening? To be honest I really don't enjoy my URL being re-written, it feels like hijacking.

[edited by: tedster at 2:50 pm (utc) on Oct. 30, 2009]
[edit reason] make urls anonymous [/edit]

dstiles

10:52 pm on Oct 30, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Do you have a redirect-inhibitor such as NoScript on the newer firefox?

caribguy

2:54 am on Oct 31, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Adobe Flash player used to read the contents of a crossdomain.xml file to determine what subdomains were allowed to communicate.

e.g. (off the top of my head, it's been a while) you could have static.example.com serve up the swf file and embed video or data from dynamic.example.com

In order for this to work you'd have to specify the subdomains in crossdomain.xml (or use a wildcard)

Like the one at Youtube:

<cross-domain-policy>
<allow-access-from domain="*" />
</cross-domain-policy>

If I remember correctly, this is now obsolete. Could be a fallback method for Linux compatibility.

Hugene

11:35 pm on Oct 31, 2009 (gmt 0)

10+ Year Member



No redirect-inhibitors anywhere.

Just tested it at home on Ubuntu/Firefox 3.0.6 and this problem doesn't exist.

caribguy, I think you are indeed correct: it must be some old Flash Player behavior. The computer I was testing from has pretty old software because I can't update it myself (I am not root)