Skip to content

Commit 35130e1

Browse files
author
Mike Taylor
committed
Merge pull request #574 from tagawa/small-edits
Changed github.com and webcompat.com links to HTTPS
2 parents 3a593a4 + 8f71bdb commit 35130e1

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

webcompat/static/js/lib/issue-list.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -595,7 +595,7 @@ issueList.MainView = Backbone.View.extend({
595595
return;
596596
}
597597

598-
var warpPipe = "http://github.com/" + repoPath;
598+
var warpPipe = "https://github.com/" + repoPath;
599599
return location.href = warpPipe;
600600
},
601601
initSubViews: function() {

webcompat/static/js/lib/issues.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ issues.MainView = Backbone.View.extend({
165165
}
166166
},
167167
githubWarp: function() {
168-
var warpPipe = "http://github.com/" + repoPath + "/" + this.issue.get('number');
168+
var warpPipe = "https://github.com/" + repoPath + "/" + this.issue.get('number');
169169
return location.href = warpPipe;
170170
},
171171
initSubViews: function() {

webcompat/templates/thanks.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
<h2>Thank you.</h2>
77
<p>You're helping us make the web a better place to work and play.</p>
88
{% if config['PRODUCTION'] %}
9-
<p>Check the status of your bug here: <a href="http://webcompat.com/issues/{{ number }}">http://webcompat.com/issues/{{ number }}</a></p>
9+
<p>Check the status of your bug here: <a href="https://webcompat.com/issues/{{ number }}">https://webcompat.com/issues/{{ number }}</a></p>
1010
{% else %}
11-
<p>Check the status of your bug here: <a href="http://github.com/{{ config['ISSUES_REPO_URI'] }}/{{ number }}">http://github.com/{{ config['ISSUES_REPO_URI'] }}/{{ number }}</a></p>
11+
<p>Check the status of your bug here: <a href="https://github.com/{{ config['ISSUES_REPO_URI'] }}/{{ number }}">https://github.com/{{ config['ISSUES_REPO_URI'] }}/{{ number }}</a></p>
1212
{% endif %}
1313
<p><a href="{{ url_for("index") }}">Return back home</a>.</p>
1414
<a class="Button Button--action" href="https://facebook.com/sharer/sharer.php?u={{ encoded_issue }}" target="_blank">Share on Facebook</a>

webcompat/templates/topbar.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
{%- elif browser == 'opera' -%}
1010
<a class="wc-Navbar-link" href="https://addons.opera.com/en/extensions/details/webcompatcom-reporter/?display=en">Download our Opera Extension</a>
1111
{%- elif browser == 'safari' -%}
12-
<a class="wc-Navbar-link" href="http://webcompat.com/addons/webcompat-reporter.safariextz">Download our Safari Extension</a>
12+
<a class="wc-Navbar-link" href="https://webcompat.com/addons/webcompat-reporter.safariextz">Download our Safari Extension</a>
1313
{% else %}
1414
<a class="wc-Navbar-link" href="https://github.com/webcompat/webcompat.com/issues?state=open">Give Feedback</a>{%- endif -%}
1515
</div>

webcompat/views.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ def show_issue(number):
180180
@app.route('/thanks/<int:number>')
181181
def thanks(number):
182182
issue = number
183-
uri = u"http://webcompat.com/issues/{0}".format(number)
183+
uri = u"https://webcompat.com/issues/{0}".format(number)
184184
text = u"I just filed a bug on the internet: "
185185
encoded_issue = urllib.quote(uri.encode("utf-8"))
186186
encoded_text = urllib.quote(text.encode("utf-8"))

0 commit comments

Comments
 (0)