stefanhaustein / quake2-playn-port

Quake II ported to WebGL via Jake and GWT
http://quake2playn.appspot.com/
14 stars 8 forks source link

https://quake2playn.appspot.com/ refers to non-ssl site #1

Open ardje opened 8 years ago

ardje commented 8 years ago

This is not an issue with the code, just with the demo url. I've been stabbed by this on multiple versions of chrome (plain pc, chromebook) and chromium (arm platform), until I just ctrl-shift-i. The demo is served by ssl, which automagically turns the suggest download location into an insecure and possible harmful source. Not looking into that, it presents the user with a static display as the error is not handled. Just changing the http:// into https:// is enough to make it work. As this is a proof of concept, I request you not to fix the code, just change the default download proto to https. As a side note: this demo brings tears to my eyes how well it runs on non-pc hardware, as you can see here: https://www.youtube.com/watch?v=SVSActfqXlQ.

stefanhaustein commented 8 years ago

The link on the project page is just "http:"... Where did you find the "https:" link to the demo (it might be easier to fix that in the meantime) (it also looks like sound stopped working, not sure why yet...)?

ardje commented 8 years ago

Hi, I just change the http of the default demo url to https :-). As far as I know all google servers are https accessible, so it was just luck ;-). Ah, I thought the sound was an issue on my end. I was actually happily surprised that it works so well on my arm hardware :-).

ardje commented 8 years ago

Oh, ah, I misread your question... Ok let me think...

ardje commented 8 years ago

It's weird... it seems to be autofixed to https: and when I change it to http: it works... That is: I type in the hostname in my chrome address bar, and it prepends https when I press enter.

ardje commented 8 years ago

Ok, if I just google quake2playn, the first hit is https:// ... And I usually just use google when chrome history has forgotten it. So no, you can't erase google :-).

stefanhaustein commented 8 years ago

I'll probably port Q2 to libgdx and indexdb before addressing this: PlayN isn't really a 3d api, and while I am touching the code anyway, it makes sense to address the deprecated html5 api usage...