From 8f71bdb7a96909ffd2b953d2cb2b886f09357f2e Mon Sep 17 00:00:00 2001 From: Daniel Davis Date: Mon, 2 Mar 2015 16:03:10 +0900 Subject: [PATCH] Changed github.com and webcompat.com links to HTTPS --- webcompat/static/js/lib/issue-list.js | 2 +- webcompat/static/js/lib/issues.js | 2 +- webcompat/templates/thanks.html | 4 ++-- webcompat/templates/topbar.html | 2 +- webcompat/views.py | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/webcompat/static/js/lib/issue-list.js b/webcompat/static/js/lib/issue-list.js index 31ed2e3be..ba813babe 100644 --- a/webcompat/static/js/lib/issue-list.js +++ b/webcompat/static/js/lib/issue-list.js @@ -575,7 +575,7 @@ issueList.MainView = Backbone.View.extend({ return; } - var warpPipe = "http://github.com/" + repoPath; + var warpPipe = "https://github.com/" + repoPath; return location.href = warpPipe; }, initSubViews: function() { diff --git a/webcompat/static/js/lib/issues.js b/webcompat/static/js/lib/issues.js index 08d4193a6..d4a882a47 100644 --- a/webcompat/static/js/lib/issues.js +++ b/webcompat/static/js/lib/issues.js @@ -161,7 +161,7 @@ issues.MainView = Backbone.View.extend({ } }, githubWarp: function() { - var warpPipe = "http://github.com/" + repoPath + "/" + this.issue.get('number'); + var warpPipe = "https://github.com/" + repoPath + "/" + this.issue.get('number'); return location.href = warpPipe; }, initSubViews: function() { diff --git a/webcompat/templates/thanks.html b/webcompat/templates/thanks.html index a8d91f0eb..bc261828a 100644 --- a/webcompat/templates/thanks.html +++ b/webcompat/templates/thanks.html @@ -6,9 +6,9 @@

Thank you.

You're helping us make the web a better place to work and play.

{% if config['PRODUCTION'] %} -

Check the status of your bug here: http://webcompat.com/issues/{{ number }}

+

Check the status of your bug here: https://webcompat.com/issues/{{ number }}

{% else %} -

Check the status of your bug here: http://github.com/{{ config['ISSUES_REPO_URI'] }}/{{ number }}

+

Check the status of your bug here: https://github.com/{{ config['ISSUES_REPO_URI'] }}/{{ number }}

{% endif %}

Return back home.

Share on Facebook diff --git a/webcompat/templates/topbar.html b/webcompat/templates/topbar.html index ba64f74e7..6f6ad2db4 100644 --- a/webcompat/templates/topbar.html +++ b/webcompat/templates/topbar.html @@ -9,7 +9,7 @@ {%- elif browser == 'opera' -%} Download our Opera Extension {%- elif browser == 'safari' -%} - Download our Safari Extension + Download our Safari Extension {% else %} Give Feedback{%- endif -%} diff --git a/webcompat/views.py b/webcompat/views.py index 57e1c74d3..8b6732d7d 100644 --- a/webcompat/views.py +++ b/webcompat/views.py @@ -178,7 +178,7 @@ def show_issue(number): @app.route('/thanks/') def thanks(number): issue = number - uri = u"http://webcompat.com/issues/{0}".format(number) + uri = u"https://webcompat.com/issues/{0}".format(number) text = u"I just filed a bug on the internet: " encoded_issue = urllib.quote(uri.encode("utf-8")) encoded_text = urllib.quote(text.encode("utf-8"))