vadvs (vadvs) wrote in changelog,
vadvs
vadvs
changelog

[livejournal] r15618: LJSUP-4758: update regexps to fix 404 Er...

Committer: vsukhanov
LJSUP-4758: update regexps to fix 404 Error on http://www.livejournal.com/ratings

U   trunk/cgi-bin/LJ/URI.pm
Modified: trunk/cgi-bin/LJ/URI.pm
===================================================================
--- trunk/cgi-bin/LJ/URI.pm	2009-08-20 09:32:15 UTC (rev 15617)
+++ trunk/cgi-bin/LJ/URI.pm	2009-08-20 10:48:38 UTC (rev 15618)
@@ -57,7 +57,7 @@
         return LJ::URI->bml_handler($r, "browse/index.bml");
     }
 
-    if ($uri =~ m!^/statistics/! or $uri =~ m!^/ratings/!) {
+    if ($uri =~ m!^/statistics(/.*|$)! or $uri =~ m!^/ratings(/.*|$)!) {
         return LJ::URI->bml_handler($r, "statistics/index.bml");
     }
 

Subscribe

  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments