Skip to content

Commit 39165a0

Browse files
fix: serve materials w/mixed-case exts (#9273)
* fix: serve materials w/ mixed-case exts * fix: another endpoint+reorder regex
1 parent 649de73 commit 39165a0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ietf/meeting/urls.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ def get_redirect_url(self, *args, **kwargs):
6464
type_interim_patterns = [
6565
url(r'^agenda/(?P<acronym>[A-Za-z0-9-]+)-drafts.pdf$', views.session_draft_pdf),
6666
url(r'^agenda/(?P<acronym>[A-Za-z0-9-]+)-drafts.tgz$', views.session_draft_tarfile),
67-
url(r'^materials/%(document)s(?P<ext>\.[a-z0-9]+)$' % settings.URL_REGEXPS, views.materials_document),
67+
url(r'^materials/%(document)s(?P<ext>\.[A-Za-z0-9]+)$' % settings.URL_REGEXPS, views.materials_document),
6868
url(r'^materials/%(document)s/?$' % settings.URL_REGEXPS, views.materials_document),
6969
url(r'^agenda.json$', views.agenda_json)
7070
]
@@ -85,7 +85,7 @@ def get_redirect_url(self, *args, **kwargs):
8585
url(r'^week-view(?:.html)?/?$', AgendaRedirectView.as_view(pattern_name='agenda', permanent=True)),
8686
url(r'^materials(?:.html)?/?$', views.materials),
8787
url(r'^request_minutes/?$', views.request_minutes),
88-
url(r'^materials/%(document)s(?P<ext>\.[a-z0-9]+)?/?$' % settings.URL_REGEXPS, views.materials_document),
88+
url(r'^materials/%(document)s(?P<ext>\.[A-Za-z0-9]+)?/?$' % settings.URL_REGEXPS, views.materials_document),
8989
url(r'^session/?$', views.materials_editable_groups),
9090
url(r'^proceedings(?:.html)?/?$', views.proceedings),
9191
url(r'^proceedings(?:.html)?/finalize/?$', views.finalize_proceedings),

0 commit comments

Comments
 (0)