Merge pull request #189 from tony-zhu/master

RSS feed not working for user name with @ in it. Fixes issue
This commit is contained in:
Ross Poulton 2013-11-14 14:15:16 -08:00
commit 95a1bfb6b7

View File

@ -160,11 +160,11 @@ urlpatterns += patterns('helpdesk.views.public',
)
urlpatterns += patterns('',
url(r'^rss/user/(?P<user_name>[\.A-Za-z0-9_-]+)/$',
url(r'^rss/user/(?P<user_name>[\.\@A-Za-z0-9_-]+)/$',
login_required(feeds.OpenTicketsByUser()),
name='helpdesk_rss_user'),
url(r'^rss/user/(?P<user_name>[\.A-Za-z0-9_-]+)/(?P<queue_slug>[A-Za-z0-9_-]+)/$',
url(r'^rss/user/(?P<user_name>[\.\@A-Za-z0-9_-]+)/(?P<queue_slug>[A-Za-z0-9_-]+)/$',
login_required(feeds.OpenTicketsByUser()),
name='helpdesk_rss_user_queue'),