Andrea had this right but I 'optimized' the code and broke it. OK is 0.
My bad.
Patch by mark.
diffs (25 lines):
diff -r fd661f512cff -r 1b0b57545725 cgi-bin/Apache/LiveJournal.pm
--- a/cgi-bin/Apache/LiveJournal.pm Tue Dec 15 04:00:47 2009 +0000
+++ b/cgi-bin/Apache/LiveJournal.pm Tue Dec 15 05:49:51 2009 +0000
@@ -645,8 +645,8 @@ sub trans
return DECLINED if $uuri eq "/favicon.ico";
# see if there is a modular handler for this URI
- my $ret = LJ::URI->handle($uuri, $r) ||
- DW::Routing::Apache2->call( $r, username => $user );
+ my $ret = LJ::URI->handle($uuri, $r);
+ $ret = DW::Routing::Apache2->call( $r, username => $user ) unless
defined $ret;
return $ret if defined $ret;
if ($uuri eq "/__setdomsess") {
@@ -942,8 +942,8 @@ sub trans
}
# see if there is a modular handler for this URI
- my $ret = LJ::URI->handle($uri, $r) ||
- DW::Routing::Apache2->call( $r );
+ my $ret = LJ::URI->handle($uri, $r);
+ $ret = DW::Routing::Apache2->call( $r ) unless defined $ret;
return $ret if defined $ret;
# customview (get an S1 journal by number)
_______________________________________________
dw-changelog mailing list
[email protected]
http://lists.dwscoalition.org/mailman/listinfo/dw-changelog