Merge pull request #1070 from finnertysea/#1069_urls_username_regex

#1069 - make regex for username more permissive for rss_user to match rss_user_queue
This commit is contained in:
Christopher Broderick 2023-03-10 23:48:11 +00:00 committed by GitHub
commit 3d78c6c722
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -151,7 +151,7 @@ urlpatterns += [
urlpatterns += [ urlpatterns += [
re_path( re_path(
r"^rss/user/(?P<user_name>[a-zA-Z0-9\_\.]+)/", r"^rss/user/(?P<user_name>[^/]+)/",
helpdesk_staff_member_required(feeds.OpenTicketsByUser()), helpdesk_staff_member_required(feeds.OpenTicketsByUser()),
name="rss_user", name="rss_user",
), ),