Skip to content

Commit

Permalink
allow ints in remote protocols ("s3://"...) (#895)
Browse files Browse the repository at this point in the history
  • Loading branch information
tomkinsc authored Nov 2, 2018
1 parent b6ef95c commit c357abc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pipes/rules/common.rules
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ def webfile_readlines(uriToGet):
def strip_protocol(uri, relative=False):

def parse_address(text):
return re.search("^(?P<protocol>[a-zA-Z]+\://){1}(?P<path_remainder>.*)$", text)
return re.search(r"^(?P<protocol>[a-zA-Z0-9]+\://){1}(?P<path_remainder>.*)$", text)

if parse_address(uri):
if not relative:
Expand Down

0 comments on commit c357abc

Please sign in to comment.