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

Changed github.com and webcompat.com links to HTTPS #574

Merged
merged 1 commit into from
Mar 2, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion webcompat/static/js/lib/issue-list.js
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down
2 changes: 1 addition & 1 deletion webcompat/static/js/lib/issues.js
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down
4 changes: 2 additions & 2 deletions webcompat/templates/thanks.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
<h2>Thank you.</h2>
<p>You're helping us make the web a better place to work and play.</p>
{% if config['PRODUCTION'] %}
<p>Check the status of your bug here: <a href="http://webcompat.com/issues/{{ number }}">http://webcompat.com/issues/{{ number }}</a></p>
<p>Check the status of your bug here: <a href="https://webcompat.com/issues/{{ number }}">https://webcompat.com/issues/{{ number }}</a></p>
{% else %}
<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>
<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>
{% endif %}
<p><a href="{{ url_for("index") }}">Return back home</a>.</p>
<a class="Button Button--action" href="https://facebook.com/sharer/sharer.php?u={{ encoded_issue }}" target="_blank">Share on Facebook</a>
Expand Down
2 changes: 1 addition & 1 deletion webcompat/templates/topbar.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
{%- elif browser == 'opera' -%}
<a class="wc-Navbar-link" href="https://addons.opera.com/en/extensions/details/webcompatcom-reporter/?display=en">Download our Opera Extension</a>
{%- elif browser == 'safari' -%}
<a class="wc-Navbar-link" href="http://webcompat.com/addons/webcompat-reporter.safariextz">Download our Safari Extension</a>
<a class="wc-Navbar-link" href="https://webcompat.com/addons/webcompat-reporter.safariextz">Download our Safari Extension</a>
{% else %}
<a class="wc-Navbar-link" href="https://github.com/webcompat/webcompat.com/issues?state=open">Give Feedback</a>{%- endif -%}
</div>
Expand Down
2 changes: 1 addition & 1 deletion webcompat/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ def show_issue(number):
@app.route('/thanks/<int:number>')
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"))
Expand Down