Use https where possible.

Signed-off-by: Adam Waldenberg <adam.waldenberg@ejwa.se>
This commit is contained in:
Chris Barry 2014-10-08 23:41:14 -04:00 committed by Adam Waldenberg
parent 7b61a46d7c
commit d6a2f33de5
2 changed files with 3 additions and 3 deletions

View File

@ -80,7 +80,7 @@ def output_header():
if __selected_format__ == "htmlembedded":
jquery_js = ">" + __get_zip_file_content__("jquery.js")
else:
jquery_js = " src=\"http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js\">"
jquery_js = " src=\"https://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js\">"
print(html_header.format(title = _("Repository statistics for {0}").format(os.path.basename(basedir.get_basedir_git())),
jquery = jquery_js,
@ -91,7 +91,7 @@ def output_header():
logo = logo.decode("utf-8", "replace"),
logo_text = _("The output has been generated by {0} {1}. The statistical analysis tool"
" for git repositories.").format(
"<a href=\"http://gitinspector.googlecode.com\">gitinspector</a>",
"<a href=\"https://gitinspector.googlecode.com\">gitinspector</a>",
version.__version__),
repo_text = _("Statistical information for the repository '{0}' was gathered on {1}.").format(
os.path.basename(basedir. get_basedir_git()), localization.get_date()),

View File

@ -27,7 +27,7 @@ import hashlib
def get_url(email, size=20):
md5hash = hashlib.md5(email.encode("utf-8").lower().strip()).hexdigest()
base_url = "http://www.gravatar.com/avatar/" + md5hash
base_url = "https://www.gravatar.com/avatar/" + md5hash
params = None
if format.get_selected() == "html":