A small change to replace the ($_GLOBALS['is_https']) ternary with a schemeless URI.

It's referenced http://stackoverflow.com/questions/954327/hidden-features-of-html/960111... and http://stackoverflow.com/questions/4831741/can-i-change-all-my-http-link... .

I've attached a patch.

CommentFileSizeAuthor
schemeless_uri.patch741 bytesroberttstephens

Comments

quicksketch’s picture

This seems like a good idea to me. At the time FBOAuth was written, schema-less URLs were not yet supported. It looks like IE6 doesn't support them (not a problem any more) and IE7/8 double-load CSS files with schemaless URLs, also not a problem for this use-case.