Skip to content
This repository has been archived by the owner on Jun 11, 2019. It is now read-only.

Commit

Permalink
Bug 1281644 - try_mailer: Support extracting HTTPS URLs from logs
Browse files Browse the repository at this point in the history
So that the archive.mozilla.org URLs in logs can be changed to HTTPS to avoid
mixed content issues with tools that consume them.
  • Loading branch information
Ed Morley committed Jul 29, 2016
1 parent 4b4ffb9 commit 05404d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/try_mailer.py
Expand Up @@ -47,7 +47,7 @@ def uploadLog(args):
print output

# Look for URLs
url = re.search("http://\S+", output)
url = re.search("https?://\S+", output)
if url:
return url.group(), retcode
return None, retcode
Expand Down

0 comments on commit 05404d3

Please sign in to comment.