diff --git a/giturlparse/platforms/base.py b/giturlparse/platforms/base.py index 28d601a..bd04da5 100644 --- a/giturlparse/platforms/base.py +++ b/giturlparse/platforms/base.py @@ -5,14 +5,14 @@ class BasePlatform(object): FORMATS = { 'ssh': r"%(_user)s@%(host)s:%(repo)s.git", 'http': r"http://%(host)s/%(repo)s.git", - 'https': r"http://%(host)s/%(repo)s.git", + 'https': r"https://%(host)s/%(repo)s.git", 'git': r"git://%(host)s/%(repo)s.git" } PATTERNS = { 'ssh': r"(?P<_user>.+)s@(?P.+)s:(?P.+)s.git", 'http': r"http://(?P.+)s/(?P.+)s.git", - 'https': r"http://(?P.+)s/(?P.+)s.git", + 'https': r"https://(?P.+)s/(?P.+)s.git", 'git': r"git://(?P.+)s/(?P.+)s.git" }