Skip to content

Commit

Permalink
Item10438: lighttpd incompatibility found in viewfile
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.foswiki.org/trunk@12659 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
  • Loading branch information
MichaelDaum authored and MichaelDaum committed Sep 30, 2011
1 parent 05eedfd commit 39f2bba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/lib/Foswiki/UI/Viewfile.pm
Expand Up @@ -44,7 +44,7 @@ sub viewfile {
my $fileName;
my $pathInfo;

if ( defined( $ENV{REDIRECT_STATUS} ) && defined( $ENV{REQUEST_URI} ) ) {
if ( defined( $ENV{REDIRECT_STATUS} ) && $ENV{REDIRECT_STATUS} != 200 && defined( $ENV{REQUEST_URI} ) ) {

# this is a redirect - can be used to make 404,401 etc URL's
# more foswiki tailored and is also used in TWikiCompatibility
Expand Down

0 comments on commit 39f2bba

Please sign in to comment.