From b78956532d9cfb0a67a4565d25fc21c560646a81 Mon Sep 17 00:00:00 2001 From: Jeff Balogh Date: Fri, 4 Jun 2010 08:24:27 -0700 Subject: [PATCH] only capture the numeric part --- apps/browse/urls.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/browse/urls.py b/apps/browse/urls.py index cb6b8172a9..83cdc295c3 100644 --- a/apps/browse/urls.py +++ b/apps/browse/urls.py @@ -22,6 +22,6 @@ urlpatterns = patterns('', url('^search-engines/(?:(?P[^/]+)/)?$', views.search_engines, name='browse.search-engines'), - url('^browse/type:(?P\d)(?:/cat:(?P[^/]+)/?)?', + url('^browse/type:(?P\d)(?:/cat:(?P\d+).*)?', views.legacy_redirects), )