[Jifty-commit] r4907 - in jifty/trunk: lib/Jifty/Plugin/REST

jifty-commit at lists.jifty.org jifty-commit at lists.jifty.org
Wed Jan 23 09:42:29 EST 2008


Author: jesse
Date: Wed Jan 23 09:42:29 2008
New Revision: 4907

Modified:
   jifty/trunk/   (props changed)
   jifty/trunk/lib/Jifty/Plugin/REST/Dispatcher.pm

Log:
 r75584 at pinglin:  jesse | 2008-01-23 09:41:37 -0500
 * 'unexpected dispatch on REST' fixed -  Patch from bokutin


Modified: jifty/trunk/lib/Jifty/Plugin/REST/Dispatcher.pm
==============================================================================
--- jifty/trunk/lib/Jifty/Plugin/REST/Dispatcher.pm	(original)
+++ jifty/trunk/lib/Jifty/Plugin/REST/Dispatcher.pm	Wed Jan 23 09:42:29 2008
@@ -397,7 +397,7 @@
     $name =~ s/\W+/\\W+/g;
 
     foreach my $cls (@_) {
-        return $cls if $cls =~ /$name$/i;
+        return $cls if $cls =~ /::$name$/i;
     }
 
     abort(404);


More information about the Jifty-commit mailing list