@@ -179,7 +179,7 @@ def document_main(request, name, rev=None):
179179 possible_types = ["txt" , "pdf" , "ps" ]
180180 found_types = [t for t in possible_types if os .path .exists (base_path + t )]
181181
182- base = "http ://www.rfc-editor.org/rfc/"
182+ base = "https ://www.rfc-editor.org/rfc/"
183183
184184 file_urls = []
185185 for t in found_types :
@@ -190,7 +190,7 @@ def document_main(request, name, rev=None):
190190 file_urls .append (("pdf" , base + "pdfrfc/" + name + ".txt.pdf" ))
191191
192192 if "txt" in found_types :
193- file_urls .append (("html" , "http ://tools.ietf.org/html/" + name ))
193+ file_urls .append (("html" , "https ://tools.ietf.org/html/" + name ))
194194
195195 if not found_types :
196196 content = "This RFC is not currently available online."
@@ -209,10 +209,10 @@ def document_main(request, name, rev=None):
209209 possible_types = ["pdf" , "xml" , "ps" ]
210210 found_types = ["txt" ] + [t for t in possible_types if os .path .exists (base_path + t )]
211211
212- tools_base = "http ://tools.ietf.org/"
212+ tools_base = "https ://tools.ietf.org/"
213213
214214 if doc .get_state_slug () == "active" :
215- base = "http ://www.ietf.org/id/"
215+ base = "https ://www.ietf.org/id/"
216216 else :
217217 base = tools_base + "id/"
218218
0 commit comments