Changeset 1127 for trunk/core/lib/Foswiki/UI.pm
- Timestamp:
- 12/02/08 12:49:15 (3 years ago)
- File:
-
- 1 edited
-
trunk/core/lib/Foswiki/UI.pm (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/core/lib/Foswiki/UI.pm
r1078 r1127 183 183 # we are already authenticated. 184 184 my $exception = new Foswiki::OopsException( 185 'accessdenied', 185 'accessdenied', status => 403, 186 186 web => $e->{web}, 187 187 topic => $e->{topic}, … … 190 190 ); 191 191 192 $exception-> redirect($session);192 $exception->generate($session); 193 193 } 194 194 } 195 195 catch Foswiki::OopsException with { 196 shift-> redirect($session);196 shift->generate($session); 197 197 } 198 198 catch Error::Simple with { … … 277 277 unless ( $session->{store}->webExists($webName) ) { 278 278 throw Foswiki::OopsException( 279 'accessdenied', 279 'accessdenied', status => 403, 280 280 def => 'no_such_web', 281 281 web => $webName, … … 301 301 unless ( $session->{store}->topicExists( $webName, $topic ) ) { 302 302 throw Foswiki::OopsException( 303 'accessdenied', 303 'accessdenied', status => 403, 304 304 def => 'no_such_topic', 305 305 web => $webName, … … 352 352 { 353 353 throw Foswiki::OopsException( 354 'accessdenied', 354 'accessdenied', status => 403, 355 355 def => 'topic_access', 356 356 web => $web,
Note: See TracChangeset
for help on using the changeset viewer.
