Fixed 2 instances of missing protocol specifier in URLs, pointed out by Lars Eggert.

- Legacy-Id: 9844
This commit is contained in:
Henrik Levkowetz 2015-07-21 11:31:07 +00:00
parent a4c6842e16
commit 69933000d0
2 changed files with 2 additions and 2 deletions

View file

@ -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):

View file

@ -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/")