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/Manage.pm

    r1090 r1127  
    137137 
    138138    throw Foswiki::OopsException( 
    139         'attention', 
     139        'attention', status => 200, 
    140140        def    => 'remove_user_done', 
    141141        web    => $webName, 
     
    238238    # everything OK, redirect to last message 
    239239    throw Foswiki::OopsException( 
    240         'attention', 
     240        'attention', status => 200, 
    241241        web   => $newWeb, 
    242242        topic => $newTopic, 
     
    313313        { 
    314314            throw Foswiki::OopsException( 
    315                 'accessdenied', 
     315                'accessdenied', status => 403, 
    316316                def   => 'no_such_topic_rename', 
    317317                web   => $oldWeb, 
     
    16251625        # user has no permission to change the topic 
    16261626        throw Foswiki::OopsException( 
    1627             'accessdenied', 
     1627            'accessdenied', status => 403, 
    16281628            def    => 'topic_access', 
    16291629            web    => $web, 
Note: See TracChangeset for help on using the changeset viewer.