Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Changed RSS urlconf to accept any character for param -- not just sla…

…shes and alphanumerics

git-svn-id: http://code.djangoproject.com/svn/django/trunk@1130 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 3aa236e10d43506a3739663a7a1d150908008a1d 1 parent 8b71b9b
@adrianholovaty adrianholovaty authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 django/conf/urls/rss.py
View
4 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'),
)
Please sign in to comment.
Something went wrong with that request. Please try again.