Ignore:
Timestamp:
12/02/08 12:49:15 (3 years ago)
Author:
CrawfordCurrie
Message:

Item139: removed oops redirect for error reports. Fixed status header in HTTP responses.

File:
1 edited

Legend:

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

    r1050 r1127  
    136136    unless ( $session->{users}->isAdmin($user) ) { 
    137137        throw Foswiki::OopsException( 
    138             'accessdenied', 
     138            'accessdenied', status => 403, 
    139139            def    => 'only_group', 
    140140            web    => $web, 
     
    421421    throw Foswiki::OopsException( 
    422422        'attention', 
     423        status => 200, 
    423424        def    => 'confirm', 
    424425        web    => $data->{webName}, 
     
    470471        unless ( $session->{users}->isAdmin($user) ) { 
    471472            throw Foswiki::OopsException( 
    472                 'accessdenied', 
     473                'accessdenied', status => 403, 
    473474                def    => 'only_group', 
    474475                web    => $web, 
     
    508509        throw Foswiki::OopsException( 
    509510            'attention', 
     511            status => 200, 
    510512            topic  => $Foswiki::cfg{HomeTopicName}, 
    511513            def    => 'reset_ok', 
     
    737739        throw Foswiki::OopsException( 
    738740            'attention', 
     741            status => 200, 
    739742            web   => $webName, 
    740743            topic => $topic, 
     
    746749    throw Foswiki::OopsException( 
    747750        'attention', 
     751        status => 200, 
    748752        web    => $webName, 
    749753        topic  => $topic, 
     
    894898    throw Foswiki::OopsException( 
    895899        'attention', 
     900        status => 200, 
    896901        web    => $Foswiki::cfg{UsersWebName}, 
    897902        topic  => $data->{WikiName}, 
Note: See TracChangeset for help on using the changeset viewer.