Skip to content

Commit

Permalink
Merge pull request #82 from bearieq/master
Browse files Browse the repository at this point in the history
fix bug in host extraction when url contains port number
  • Loading branch information
manugarg committed Sep 24, 2016
2 parents 6f3e2e2 + d0a2186 commit f078a7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pymod/pacparser/__init__.py
Expand Up @@ -33,7 +33,7 @@
import re
import sys

_URL_REGEX = re.compile('^[^:]*:\/\/([^\/]+)')
_URL_REGEX = re.compile('^[^:]*:\/\/([^\/:]+)')

class URLError(Exception):
def __init__(self, url):
Expand Down

0 comments on commit f078a7e

Please sign in to comment.