Ignore:
Timestamp:
12/01/08 12:01:08 (3 years ago)
Author:
CrawfordCurrie
Message:

Item42: protect REVINFO from footpads

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/core/lib/Foswiki.pm

    r1090 r1115  
    36253625    my $rev = $params->{rev} || $cgiRev || ''; 
    36263626 
     3627    ( $web, $topic ) = $this->normalizeWebTopicName( $web, $topic ); 
     3628    if ($web ne $theWeb || $topic ne $theTopic) { 
     3629        unless ( 
     3630            $this->security->checkAccessPermission( 
     3631                'VIEW', $this->{user}, undef, undef, $topic, $web 
     3632            ) 
     3633          ) 
     3634        { 
     3635            return $this->inlineAlert( 'alerts', 'access_denied', $web, 
     3636                $topic ); 
     3637        } 
     3638    } 
     3639 
    36273640    return $this->renderer->renderRevisionInfo( $web, $topic, undef, $rev, 
    36283641        $format ); 
Note: See TracChangeset for help on using the changeset viewer.