[Jifty-commit] r2813 - wifty/trunk/lib/Wifty
jifty-commit at lists.jifty.org
jifty-commit at lists.jifty.org
Wed Feb 21 17:36:52 EST 2007
Author: jesse
Date: Wed Feb 21 17:36:52 2007
New Revision: 2813
Modified:
wifty/trunk/lib/Wifty/Dispatcher.pm
Log:
* numeric pagenames lost badly
Modified: wifty/trunk/lib/Wifty/Dispatcher.pm
==============================================================================
--- wifty/trunk/lib/Wifty/Dispatcher.pm (original)
+++ wifty/trunk/lib/Wifty/Dispatcher.pm Wed Feb 21 17:36:52 2007
@@ -28,7 +28,7 @@
on qr{^/(view|edit)/(.*)}, run {
my ( $name, $rev );
my $page_name = $1;
- if ( $2 =~ qr{^(.*?)(?:/(\d*))?$} ) {
+ if ( $2 =~ qr{^(.*?)(?:/(\d+))?$} ) {
$name = $1;
$rev = $2;
}
More information about the Jifty-commit
mailing list