Skip to content

Commit f20a5d0

Browse files
committed
Changed URLs with explicit scheme from http to https.
- Legacy-Id: 7555
1 parent af4c6e2 commit f20a5d0

9 files changed

Lines changed: 11 additions & 8 deletions

File tree

ietf/iesg/views.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@
4747
from django.http import HttpResponse
4848
from django.shortcuts import render_to_response, render, redirect
4949
from django.template import RequestContext
50+
from django.contrib.sites.models import Site
5051

5152

5253
from ietf.doc.models import Document, TelechatDocEvent, LastCallDocEvent, ConsensusDocEvent, DocEvent, IESG_BALLOT_ACTIVE_STATES
@@ -189,6 +190,7 @@ def agenda_txt(request, date=None):
189190
return render_to_response("iesg/agenda.txt", {
190191
"date": data["date"],
191192
"sections": sorted(data["sections"].iteritems()),
193+
"domain": Site.objects.get_current().domain,
192194
}, context_instance=RequestContext(request), content_type="text/plain")
193195

194196
def agenda_scribe_template(request, date=None):
@@ -203,6 +205,7 @@ def agenda_scribe_template(request, date=None):
203205
"date": data["date"],
204206
"sections": sections,
205207
"appendix_docs": appendix_docs,
208+
"domain": Site.objects.get_current().domain,
206209
}, context_instance=RequestContext(request) )
207210

208211
@role_required('Area Director', 'Secretariat')

ietf/templates/community/public/subscribe_email.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Hello,
33

44
In order to complete your subscription for {% if significant %}significant {% endif %}changes on {{ clist.long_name }}, please follow this link or copy it and paste it in your web browser:
55

6-
http://{{ domain }}{% if significant %}{% url "confirm_significant_subscription" clist.id to_email today auth %}{% else %}{% url "confirm_subscription" clist.id to_email today auth %}{% endif %}
6+
https://{{ domain }}{% if significant %}{% url "confirm_significant_subscription" clist.id to_email today auth %}{% else %}{% url "confirm_subscription" clist.id to_email today auth %}{% endif %}
77

88
Best regards,
99

ietf/templates/community/public/unsubscribe_email.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Hello,
33

44
In order to complete the cancelation of your subscription to {% if significant %}significant {% endif %}changes on {{ clist.long_name }}, please follow this link or copy it and paste it in your web browser:
55

6-
http://{{ domain }}{% if significant %}{% url "confirm_significant_unsubscription" clist.id to_email today auth %}{% else %}{% url "confirm_unsubscription" clist.id to_email today auth %}{% endif %}
6+
https://{{ domain }}{% if significant %}{% url "confirm_significant_unsubscription" clist.id to_email today auth %}{% else %}{% url "confirm_unsubscription" clist.id to_email today auth %}{% endif %}
77

88
Best regards,
99

ietf/templates/iesg/agenda.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Summarized Agenda for the {{ date }} IESG Teleconference
44

55
This agenda was generated at {% now "Y-m-d H:i:s T" %}
66
Up-to-date web version of this agenda can be found at:
7-
http://datatracker.ietf.org/iesg/agenda/
7+
https://{{ domain }}/iesg/agenda/
88

99
{% for num, section in sections %}
1010
{% if num|sectionlevel == 1 %}

ietf/templates/iesg/scribe_conflict_doc.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
{% endif %}
1414
{% for ipr in doc.conflictdoc.ipr %}
1515
{% if ipr.ipr.status == 1 %}
16-
<br>IPR: <a href="http://datatracker.ietf.org/ipr/{{ ipr.ipr.ipr_id }}/">{{ ipr.ipr.title }}</a>
16+
<br>IPR: <a href="https://{{ domain }}/ipr/{{ ipr.ipr.ipr_id }}/">{{ ipr.ipr.title }}</a>
1717
{% endif %}
1818
{% endfor %}
1919
</div>

ietf/templates/iesg/scribe_doc.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
{% for ipr in doc.ipr %}
1919
{% if ipr.ipr.status == 1 %}
20-
<br>IPR: <a href="http://datatracker.ietf.org/ipr/{{ ipr.ipr.ipr_id }}/">{{ ipr.ipr.title }}</a>
20+
<br>IPR: <a href="https://datatracker.ietf.org/ipr/{{ ipr.ipr.ipr_id }}/">{{ ipr.ipr.title }}</a>
2121
{% endif %}
2222
{% endfor %}
2323

ietf/templates/iesg/scribe_doc_ballot.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{% with doc.active_ballot as ballot %}
22
{% if ballot %}
3-
<br><b>Discusses/comments</b> <a href="http://datatracker.ietf.org/doc/{{doc.canonical_name}}/ballot/">[ballot]</a>:
3+
<br><b>Discusses/comments</b> <a href="https://datatracker.ietf.org/doc/{{doc.canonical_name}}/ballot/">[ballot]</a>:
44
<ul>
55
{% for p in ballot.active_ad_positions.values %}
66
{% if p.pos %}

ietf/templates/registration/add_email_email.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ to the user account '{{ user }}' at '{{ domain }}'.
66
If you requested this change, please confirm that this is your email
77
address by clicking on following link:
88

9-
http://{{ domain }}{% url "confirm_new_email" user today email auth %}
9+
https://{{ domain }}{% url "confirm_new_email" user today email auth %}
1010

1111
This link will expire in {{ expire }} days.
1212

ietf/templates/registration/creation_email.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ at {{ domain }}. In order to set a new password for the
66
{{ username }} account, please go to the following link and
77
follow the instructions there:
88

9-
http://{{ domain }}{% url "confirm_account" username today realm auth %}
9+
https://{{ domain }}{% url "confirm_account" username today realm auth %}
1010

1111
This link will expire in {{ expire }} days.
1212

0 commit comments

Comments
 (0)