Changeset 222


Ignore:
Timestamp:
12/29/10 14:27:30 (13 years ago)
Author:
nanardon
Message:
  • return 404 error if a non existing rpms/* is called
File:
1 edited

Legend:

Unmodified
Added
Removed
  • server/trunk/web/lib/Sophie/Controller/Rpms.pm

    r220 r222  
    264264        /^location$/  and $c->go('location',  [ $pkgid, @args ]); 
    265265        /^analyse$/   and $c->go('analyse',  [ $pkgid, @args ]); 
     266        /./           and $c->go('/404/index'); # other subpart dont exists 
    266267    } 
    267268    $c->stash->{rpmurl} = $c->req->path; 
Note: See TracChangeset for help on using the changeset viewer.