-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Always use https for Vimeo video's. #10768
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
Conversation
Nope, but you can suggest such improvement to fotorama itself. Then it can appear in Magento someday after uprading the fotorama. Not sure what the process would be if there was a severe bug in third-party library but luckily this is not the case.
|
@orlangur: ok, but then #10748 should be merged in 2.1 as is without other changes. Currently there is only a bug in 2.1, not in 2.2 or So summary:
|
Why? I thought it would be better similar to this PR, so that 2.1 and 2.3+ have one version and 2.2 will have redundant redirect on Vimeo for http, but it's not a big deal. |
In this particular case it's not really a big problem, but it feels very wrong to me to leave 2.2 behind and have an improvement in 2.1 which is also in 2.3 but not in 2.2... |
[EngCom] Public Pull Requests - MAGETWO-72350: Fix: Use all columns when running tests #10784 - MAGETWO-72349: Fix: Move GitHub-specific documents into .github #10778 - MAGETWO-72344: Enhancement: Configure preferred installation source in composer.json #10774 - MAGETWO-72279: Always use https for Vimeo video's. #10768
Description
Instead of using the current protocol being used by Magento (http or https), always go for https. Since Vimeo redirects all non-https traffic to https.
See discussion with @orlangur in #10748
This still happens in the fotorama library though:
magento2/lib/web/fotorama/fotorama.js
Lines 853 to 858 in a232e07
Not sure if this needs to be changed as well?
Watch out, I didn't test these changes, so please test before approving if possible :)
Once this is in the
develop
branch and backported to Magento 2.2 by someone, I'll update #10748 so this also gets into Magento 2.1I don't want to have an awkward situation where this is merged in
develop
and2.1
but not in2.2
Fixed Issues (if relevant)
None
Contribution checklist