Description: Silence test warnings with newer CGI.pm versions This fixes warnings like CGI::param called in list context from package ReplaceQueryObject line 14, this can lead to vulnerabilities. See the warning in "Fetching the value or values of a single named parameter" at /usr/share/perl5/CGI.pm line 436, line 16. Origin: vendor Bug: https://rt.cpan.org/Public/Bug/Display.html?id=104176 Forwarded: https://rt.cpan.org/Public/Bug/Display.html?id=104176 Bug-Debian: https://bugs.debian.org/783405 Author: Niko Tyni Reviewed-by: gregor herrmann Last-Update: 2016-04-29 --- libcgi-application-server-perl.orig/t/lib/ReplaceQueryObject.pm +++ libcgi-application-server-perl/t/lib/ReplaceQueryObject.pm @@ -12,7 +12,7 @@ my ($self) = @_; my $q = $self->query; return join "\n", - $q->start_html($q->param('text')) . + $q->start_html(scalar $q->param('text')) . $q->end_html ; }