Skip to content

Commit

Permalink
Convert two remaining protocol-relative URLs to https. Commit ready f…
Browse files Browse the repository at this point in the history
…or merge.

 - Legacy-Id: 9843
  • Loading branch information
larseggert committed Jul 21, 2015
1 parent efc5b06 commit f70a381
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ietf/doc/templatetags/ietf_filters.py
Expand Up @@ -228,7 +228,7 @@ def rfclink(string):
URL for that RFC.
"""
string = str(string);
return "//tools.ietf.org/html/rfc" + string;
return "https://tools.ietf.org/html/rfc" + string;

@register.filter(name='urlize_ietf_docs', is_safe=True, needs_autoescape=True)
def urlize_ietf_docs(string, autoescape=None):
Expand Down
2 changes: 1 addition & 1 deletion ietf/settings.py
Expand Up @@ -89,7 +89,7 @@

USE_TZ = False

MEDIA_URL = '//www.ietf.org/'
MEDIA_URL = 'https://www.ietf.org/'

STATIC_URL = "/"
STATIC_ROOT = os.path.abspath(BASE_DIR + "/../static/")
Expand Down

0 comments on commit f70a381

Please sign in to comment.