Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Forum insecure requests #22

Open
SubJunk opened this issue Jan 15, 2021 · 0 comments
Open

Forum insecure requests #22

SubJunk opened this issue Jan 15, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@SubJunk
Copy link
Member

SubJunk commented Jan 15, 2021

This seems inconsistent. Sometimes on the forum, certain requests break because they are trying to load them from http despite being on https. I have just noted it on https://universalmediaserver.com/forum/viewtopic.php?p=43161&sid=9b742d6706328c99d796ffea8d4ba94c#p43161

The console shows entries like this:

Mixed Content: The page at '<URL>' was loaded over HTTPS, but requested an insecure stylesheet '<URL>'. This request has been blocked; the content must be served over HTTPS.
/forum/viewtopic.php?f=11&t=13377&e=1&view=unread#unread:1 Mixed Content: The page at 'https://universalmediaserver.com/forum/viewtopic.php?f=11&t=13377&e=1&view=unread#unread' was loaded over HTTPS, but requested an insecure script 'http://www.universalmediaserver.com/assets/vendor/jquery/jquery.min.js'. This request has been blocked; the content must be served over HTTPS.

but the weird thing is in the code it shows:

<script src="/assets/vendor/jquery/jquery.min.js"></script>

so I'm not sure why the browser is choosing to load over http instead of https in that case.

It may be a bug with Chrome/ium (I'm using the Brave browser) but we can maybe work around it by hardcoding the https instead of using a relative URI. Not ideal to have to do that but worth a try

@SubJunk SubJunk added the bug Something isn't working label Jan 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant