X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=PciIds%2FHtml%2FHandler.pm;h=f9ca889e5dd2830b303ac5e642ab7f2a3fd89911;hb=d2935a5e76ef0e5a2f3a15e80b2649a2913581e5;hp=100726c9befbcc1e366564ede8acd03976f71f27;hpb=1a41160ce590d689aacdcb815790329dd4aecf10;p=pciids.git diff --git a/PciIds/Html/Handler.pm b/PciIds/Html/Handler.pm index 100726c..f9ca889 100644 --- a/PciIds/Html/Handler.pm +++ b/PciIds/Html/Handler.pm @@ -80,7 +80,7 @@ my %handlers = ( sub handler( $$ ) { my( $req, $hasSSL ) = @_; my $args = parseArgs( $req->args() ); - return HTTPRedirect( $req, protoName( $hasSSL ).'://'.$req->hostname().'/index.html' ) if( $req->uri() eq '/' && ( !defined $args->{'action'} || $args->{'action'} ne 'help' ) ); + return HTTPRedirect( $req, protoName( $hasSSL ).'://'.$req->hostname().'/index.html' ) if( $req->uri() eq '/' && ( !defined $args->{'action'} || ( $args->{'action'} ne 'help' && $args->{'action'} ne 'jump' ) ) ); return DECLINED if( $req->uri() =~ /^\/((static)\/|robots.txt|index.html)/ ); my $action = $args->{'action'}; $action = '' unless( defined $action );