?

Log in

No account? Create an account
Does anyone here have write access to a PHP web server? - 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:

http://www.facebook.com/#!/YoungSomerville

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.
linkReply

Comments:
[User Picture]From: nu_luba
2011-03-12 11:44 am (UTC)
i get ""
#old
#new
#new

in firefox

""
""
#new
#new

in safari

""
#old
#new
#new

in flock
(Reply) (Parent) (Thread)
[User Picture]From: ron_newman
2011-03-12 11:52 am (UTC)
Thanks What version of these browsers, and on what operating system?
(Reply) (Parent) (Thread)
[User Picture]From: nu_luba
2011-03-12 11:59 am (UTC)
mac os 10.6.6

firefox 3.6.15

safari 5.0.3

flock 1.2.7
(Reply) (Parent) (Thread)
[User Picture]From: ron_newman
2011-03-12 12:02 pm (UTC)
Thanks, especially for testing Flock (a browser I'm unfamiliar with).
(Reply) (Parent) (Thread)
[User Picture]From: nu_luba
2011-03-12 12:06 pm (UTC)
not a problem. Incidentally, i just upgrade to firefox 4 beta and am seeing the same behavior as firfox 3.6.15
(Reply) (Parent) (Thread)
[User Picture]From: ron_newman
2011-03-12 12:10 pm (UTC)
If at any point you get a chance to test with Internet Explorer, let me know.
(Reply) (Parent) (Thread)
[User Picture]From: nu_luba
2011-03-12 12:19 pm (UTC)
it will have to be monday. I refuse to have windows computers at home because it reminds me too much of work :)
(Reply) (Parent) (Thread)
[User Picture]From: ron_newman
2011-03-12 12:25 pm (UTC)
Thanks again. My personal belief is that Firefox, Flock, and Chrome are behaving 'correctly', while Safari and Opera are both deviating in different ways from proper behavior. But in the absence of a formal standard, it's hard for me to say this definitively.
(Reply) (Parent) (Thread)
[User Picture]From: nu_luba
2011-03-14 05:12 pm (UTC)

In IE 8

No old or new fragment: ""
Old Fragment Only: ""
New fragment only: "#new"
old and new fragment: "#new"
(Reply) (Parent) (Thread)
[User Picture]From: ron_newman
2011-03-14 05:14 pm (UTC)

Re: In IE 8

Thanks. Someone else tried IE9 and got the same results with that.
(Reply) (Parent) (Thread)