Ignore:
Timestamp:
12/09/08 18:16:48 (3 years ago)
Author:
CrawfordCurrie
Message:

Item253: remove TWikiDrawPlugin hack; analyse, rationalise and document usage of redirectto; Item5926: added encodings that were proposed to make chinese work (they don't break anything AFAICT). Deprecate Foswiki::Func::getRegularExpression (the regex array is published)

File:
1 edited

Legend:

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

    r1127 r1221  
    8787    my $this     = $class->SUPER::new(); 
    8888    $this->{template} = $template; 
     89    $this->{status} = 500; # default server error 
    8990    ASSERT( scalar(@_) % 2 == 0, join( ";", map { $_ || 'undef' } @_ ) ) 
    9091      if DEBUG; 
     
    177178 
    178179    my @p = $this->_prepareResponse( $session ); 
    179     $session->{response}->status( $this->{status} || 500 ); 
     180    $session->{response}->status( $this->{status} ); 
    180181    require Foswiki::UI::Oops; 
    181182    Foswiki::UI::Oops::oops($session, $this->{web}, $this->{topic}, 
Note: See TracChangeset for help on using the changeset viewer.