Skip to content

Commit 7593230

Browse files
committed
Make having a trailing slash optional for doc/html/docname. Fixes ietf-tools#2247. Commit ready for merge.
- Legacy-Id: 15613
1 parent 2abc51a commit 7593230

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ietf/doc/urls.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
url(r'^stats/newrevisiondocevent/data/?$', views_stats.chart_data_newrevisiondocevent),
6161
url(r'^stats/person/(?P<id>[0-9]+)/drafts/conf/?$', views_stats.chart_conf_person_drafts),
6262
url(r'^stats/person/(?P<id>[0-9]+)/drafts/data/?$', views_stats.chart_data_person_drafts),
63-
url(r'^html/%(name)s(?:-%(rev)s)?(\.txt|\.html)?$' % settings.URL_REGEXPS, views_doc.document_html),
63+
url(r'^html/%(name)s(?:-%(rev)s)?(\.txt|\.html)?/?$' % settings.URL_REGEXPS, views_doc.document_html),
6464

6565
url(r'^all/?$', views_search.index_all_drafts),
6666
url(r'^active/?$', views_search.index_active_drafts),

0 commit comments

Comments
 (0)