Log in

No account? Create an account
Ron Newman [entries|archive|friends|userinfo]
Ron Newman

[ userinfo | livejournal userinfo ]
[ archive | journal archive ]

Does anyone here have write access to a PHP web server? [Mar. 11th, 2011|08:57 pm]
Ron Newman
I am investigating an unfortunate interaction between a Facebook feature (the "always use https" preference) and the behavior of certain browsers (definitely Mac Safari, perhaps others) when they receive an HTTP "302" redirect.

To do this, I'd like to put a PHP file and a couple of HTML pages up on a web server, and then have a few people bang on the PHP page from various browsers on various operating systems. I'm especially interested in how Internet Explorer behaves, but I can't test this locally at home because I have only a Mac.

Can anyone help?

Specifically, I'm investigating the behavior of browsers when Facebook redirects a URL of the following format from http to https:


On my Mac, Safari 5.0.3 responds to the redirect by going to https://www.facebook.com/ , while Firefox 3.6.15, Camino 2.0.6, Chrome 10.0.648.133, and Opera 11.01 all go to
https://www.facebook.com/#!/YoungSomerville .

The latter behavior seems much more useful, and presumably is what Facebook expects, but it's not clear to me whether any official standards require it. I'd like to know how Internet Explorer and other PC browsers (and Linux browsers, for that matter) behave.

So if you can take a few small files from me and put them on a public web server that can run PHP, I'd greatly appreciate it.

[User Picture]From: ron_newman
2011-03-12 11:53 am (UTC)
That would be great (but I don't see any PM from you yet). Some of these pages explain the problem further. Note that the IETF draft is from 1999!
(Reply) (Parent) (Thread)
(Deleted comment)
[User Picture]From: ron_newman
2011-03-12 12:01 pm (UTC)
Got it. I'll respond shortly.
(Reply) (Parent) (Thread)