]> git.deb.at Git - deb/packages.git/blobdiff - cgi-bin/dispatcher.pl
Support multiple keywords
[deb/packages.git] / cgi-bin / dispatcher.pl
index 6235cc5e39854b6b746d09100700d5dca287e6d4..86bb48962db56c02c6b93244d66dc9beff4071ba 100755 (executable)
@@ -167,7 +167,8 @@ if (my $path = $input->path_info() || $input->param('PATH_INFO')) {
 my ( $pkg, @suites, @sections, @subsections, @archives, @archs );
 
 my %params_def = ( keywords => { default => undef,
-                                match => '^\s*([-+\@\s\w\/.:]+)\s*$',
+                                array => '\s+',
+                                match => '^([-+\@\w\/.:]+)$',
                             },
                   package => { default => undef,
                                match => '^([\w.+-]+)$',