diff options
| author | Adrian Holovaty <adrian@holovaty.com> | 2005-11-09 00:40:47 +0000 |
|---|---|---|
| committer | Adrian Holovaty <adrian@holovaty.com> | 2005-11-09 00:40:47 +0000 |
| commit | 3aa236e10d43506a3739663a7a1d150908008a1d (patch) | |
| tree | 969e9661f7e40e88d23b1161a134dbf699e350e0 | |
| parent | 8b71b9b87001b80df71262c505812bf285210874 (diff) | |
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
| -rw-r--r-- | django/conf/urls/rss.py | 4 |
1 files 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<slug>\w+)/$', 'rss.rss.feed'), - (r'^(?P<slug>\w+)/(?P<param>[\w/]+)/$', 'rss.rss.feed'), + (r'^(?P<slug>[^/]+)/$', 'rss.rss.feed'), + (r'^(?P<slug>[^/]+)/(?P<param>.+)/$', 'rss.rss.feed'), ) |
