Skip to content
Snippets Groups Projects
Commit 97bee44e authored by Síle Ekaterin Liszka's avatar Síle Ekaterin Liszka
Browse files

Chessa::URI: look at the authority specifically, genius

parent 611f947b
No related branches found
No related tags found
No related merge requests found
......@@ -136,7 +136,7 @@ sub filters {
foreach my $uri (@uris) {
foreach my $filter (@filters) {
$uri = URI->new($uri);
my @uri_frags = split /\./, $uri;
my @uri_frags = split /\./, $uri->authority;
my @filter_frags = split /\./, $filter;
while (@uri_frags > @filter_frags) {
shift @uri_frags;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment