mirror of
https://gitea.mueller.network/extern/django-helpdesk.git
synced 2024-12-26 16:48:50 +01:00
RSS feed not working for user name with @ in it. Fixes issue
This commit is contained in:
parent
7624e77524
commit
51114c8029
@ -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'),
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user