Merge pull request #100 from lambda/issue-19-dont-strip-port-number

Don't strip port number in sanitise_uri
master
Jeremy T. Bouse 3 months ago committed by GitHub
commit aeeb0afc52
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      apt-mirror

@ -485,7 +485,6 @@ sub sanitise_uri
my $uri = shift;
$uri =~ s[^(\w+)://][];
$uri =~ s/^([^@]+)?@?// if $uri =~ /@/;
$uri =~ s&:\d+/&/&; # and port information
$uri =~ s/~/\%7E/g if get_variable("_tilde");
return $uri;
}

Loading…
Cancel
Save