diff --git a/ietf/doc/templatetags/ietf_filters.py b/ietf/doc/templatetags/ietf_filters.py index aedec63a0..ae3a01376 100644 --- a/ietf/doc/templatetags/ietf_filters.py +++ b/ietf/doc/templatetags/ietf_filters.py @@ -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): diff --git a/ietf/settings.py b/ietf/settings.py index aead2c753..5b138e7f6 100644 --- a/ietf/settings.py +++ b/ietf/settings.py @@ -89,7 +89,7 @@ USE_I18N = False USE_TZ = False -MEDIA_URL = '//www.ietf.org/' +MEDIA_URL = 'https://www.ietf.org/' STATIC_URL = "/" STATIC_ROOT = os.path.abspath(BASE_DIR + "/../static/")