mirror of https://github.com/CIRCL/url-abuse
fix last commit
parent
99176cb91f
commit
c2889239ad
|
@ -205,10 +205,9 @@ def get_urls(url, depth=1):
|
||||||
port = fex.get_port()
|
port = fex.get_port()
|
||||||
if port is not None:
|
if port is not None:
|
||||||
base += ':{}'.format(port)
|
base += ':{}'.format(port)
|
||||||
if not base.endswith('/'):
|
|
||||||
base += '/'
|
|
||||||
if not meta_redir_url.startswith('/'):
|
if not meta_redir_url.startswith('/'):
|
||||||
base += fex.resource_path()
|
# relative redirect. resource_path has the initial '/'
|
||||||
|
base += fex.get_resource_path()
|
||||||
if not base.endswith('/'):
|
if not base.endswith('/'):
|
||||||
base += '/'
|
base += '/'
|
||||||
meta_redir_url = base + meta_redir_url
|
meta_redir_url = base + meta_redir_url
|
||||||
|
|
Loading…
Reference in New Issue