Committer: ailyin
LJSUP-11749 (some static files get served with wrong content type)U trunk/cgi-bin/Apache/LiveJournal.pm
Modified: trunk/cgi-bin/Apache/LiveJournal.pm =================================================================== --- trunk/cgi-bin/Apache/LiveJournal.pm 2012-04-06 09:12:10 UTC (rev 21666) +++ trunk/cgi-bin/Apache/LiveJournal.pm 2012-04-06 10:42:22 UTC (rev 21667) @@ -557,7 +557,11 @@ LJ::Request->filename($file); $LJ::IMGPREFIX = '/img'; $LJ::STATPREFIX = '/stc'; - return $bml_handler->($file); + if ( $file =~ /[.]bml$/ ) { + return $bml_handler->($file); + } else { + return LJ::Request::OK; + } } else { return LJ::Request::FORBIDDEN;