From d8d2471c0937718db32290247920840a797c3a77 Mon Sep 17 00:00:00 2001 From: Oliver Gorwits Date: Wed, 4 Sep 2019 13:33:12 +0100 Subject: [PATCH] #644 Device DNS Mismatch report broken by domain_suffix change --- lib/App/Netdisco/Web/Plugin/Report/DeviceDnsMismatch.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/App/Netdisco/Web/Plugin/Report/DeviceDnsMismatch.pm b/lib/App/Netdisco/Web/Plugin/Report/DeviceDnsMismatch.pm index a3d23fc9..02e04e65 100644 --- a/lib/App/Netdisco/Web/Plugin/Report/DeviceDnsMismatch.pm +++ b/lib/App/Netdisco/Web/Plugin/Report/DeviceDnsMismatch.pm @@ -16,7 +16,7 @@ register_report( get '/ajax/content/report/devicednsmismatch' => require_login sub { - my $suffix = setting('domain_suffix'); + (my $suffix = '***:'. setting('domain_suffix')) =~ s|\Q(?^\Eu?|(?|g; my @results = schema('netdisco')->resultset('Virtual::DeviceDnsMismatch')