Fix issue that lets people avoid sysbans by dropping the BML suffix.
Patch by exor674.
diffs (11 lines):
diff -r 12975d8c6280 -r 9fbd4af3bbd1 cgi-bin/Apache/LiveJournal.pm
--- a/cgi-bin/Apache/LiveJournal.pm Tue Jul 21 03:35:45 2009 -0500
+++ b/cgi-bin/Apache/LiveJournal.pm Wed Jul 22 01:05:15 2009 +0000
@@ -306,7 +306,6 @@ sub trans
# extension...)
if ( $host eq $LJ::DOMAIN_WEB && -e "$LJ::HTDOCS/$uri.bml" ) {
$r->uri( $uri = "$uri.bml" );
- return $bml_handler->( "$LJ::HTDOCS/$uri" );
}
} else { # not is_initial_req
_______________________________________________
dw-changelog mailing list
[email protected]
http://lists.dwscoalition.org/mailman/listinfo/dw-changelog