Image-sequencer: Only Allow Https Connection

Created on 24 Feb 2019  路  6Comments  路  Source: publiclab/image-sequencer

Please describe the problem (or idea)

Currently sequencer.publiclab.org has an SSL certificate but it can run without https as well. If no https:// is included in the URL, then an insecure connection is opened. We have to always redirect to the https page.

Possible Fix

Create a function which checks the page URL. If the URL doesn't contain https, then it should redirect to https://rest-of-the-url. Run this function before the sequencer is loaded.

E.g.
http://sequencer.publiclab.org#step={} should be redirected to https://sequencer.publiclab.org#steps={}

Any Other Ideas?

If you have any other ideas then please let us know. We can discuss those below.


Thank you!

Your help makes Public Lab better! We deeply appreciate your helping refine and improve this site.

To learn how to write really great issues, which increases the chances they'll be resolved, see:

https://publiclab.org/wiki/developers#Contributing+for+non-coders

fto-candidate

Most helpful comment

I have added the label but let's see in the PR if the load time is noticed. Thank you!

All 6 comments

@publiclab/is-reviewers can this be an fto-candidate ?

I have added the label but let's see in the PR if the load time is noticed. Thank you!

Great idea! I think in one of our repos we actually have a redirect... can't remember which though!

Will love to work upon it .

Awesome!!

I was able to turn on this setting in the gh-pages configuration! I think we can close now, thanks for the great idea!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jywarren picture jywarren  路  5Comments

jywarren picture jywarren  路  4Comments

Divy123 picture Divy123  路  5Comments

vaibhavmatta picture vaibhavmatta  路  4Comments

sashadev-sky picture sashadev-sky  路  3Comments