Skip to content

changing http:// to // on intro video urls - #618

Merged
caesar2164 merged 1 commit into
masterfrom
giulio/secure-embeds
Aug 9, 2013
Merged

changing http:// to // on intro video urls#618
caesar2164 merged 1 commit into
masterfrom
giulio/secure-embeds

Conversation

@caesar2164

Copy link
Copy Markdown
Contributor

Firefox 23 has started blocking mixed content (https://blog.mozilla.org/tanvi/2013/04/10/mixed-content-blocking-enabled-in-firefox-23/) so the urls should be changed to https. (or "//" as per @nedbat's comment)

Tested manually in firefox by changing http to https in inspector and it worked. I also tested to make sure that my changes work, but they do require db updates to make sure the videos have https in their records...

Laundry list of mentions: @ormsbee, @nedbat, @singingwolfboy

@ghost ghost assigned chrisndodge, cdodge and cahrens Aug 8, 2013
@nedbat

nedbat commented Aug 9, 2013

Copy link
Copy Markdown
Contributor

A better solution is to change the URLs to "//...", with no schema at all. Then they will default to the schema used to load the page: http://nedbatchelder.com/blog/200710/httphttps_transitions_and_relative_urls.html

@sarina

sarina commented Aug 9, 2013

Copy link
Copy Markdown
Contributor

I don't know anything about this so I'm not a good reviewer. Ned's blog post seems to make sense, though.

@singingwolfboy

Copy link
Copy Markdown
Contributor

+1 to @nedbat's solution

@caesar2164

Copy link
Copy Markdown
Contributor Author

@nedbat - that's super cool! Commit amended to reflect feedback!

@nedbat

nedbat commented Aug 9, 2013

Copy link
Copy Markdown
Contributor

👍 looks great!

caesar2164 added a commit that referenced this pull request Aug 9, 2013
changing http:// to // on intro video urls
@caesar2164
caesar2164 merged commit 5b5c815 into master Aug 9, 2013
chrisrossi pushed a commit to jazkarta/edx-platform that referenced this pull request Mar 31, 2014
@jzoldak
jzoldak deleted the giulio/secure-embeds branch May 5, 2014 14:57
mtyaka referenced this pull request in open-craft/openedx-platform Feb 10, 2016
…ring

Update hash code for xblock mentoring
jenkins-ks pushed a commit to nttks/edx-platform that referenced this pull request Mar 30, 2016
jenkins-ks pushed a commit to nttks/edx-platform that referenced this pull request Mar 30, 2016
…ername-not-fillin

Change username does not fill-in openedx#618
yoann-mroz pushed a commit to weuplearning/edx-platform that referenced this pull request Nov 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants