From 3aa236e10d43506a3739663a7a1d150908008a1d Mon Sep 17 00:00:00 2001 From: Adrian Holovaty Date: Wed, 9 Nov 2005 00:40:47 +0000 Subject: [PATCH] Changed RSS urlconf to accept any character for param -- not just slashes and alphanumerics git-svn-id: http://code.djangoproject.com/svn/django/trunk@1130 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- django/conf/urls/rss.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/django/conf/urls/rss.py b/django/conf/urls/rss.py index af26f7cdb5..bb6f84e07d 100644 --- a/django/conf/urls/rss.py +++ b/django/conf/urls/rss.py @@ -1,6 +1,6 @@ from django.conf.urls.defaults import * urlpatterns = patterns('django.views', - (r'^(?P\w+)/$', 'rss.rss.feed'), - (r'^(?P\w+)/(?P[\w/]+)/$', 'rss.rss.feed'), + (r'^(?P[^/]+)/$', 'rss.rss.feed'), + (r'^(?P[^/]+)/(?P.+)/$', 'rss.rss.feed'), )