Skip to content

Commit e5dcacf

Browse files
committed
Fixed buggy urlpatterns in [10785]
- Legacy-Id: 10786 Note: SVN reference [10785] has been migrated to Git commit acada64
1 parent acada64 commit e5dcacf

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

ietf/meeting/urls.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
url(r'^timeslots/edit$', views.edit_timeslots),
2727
url(r'^rooms$', ajax.timeslot_roomsurl),
2828
url(r'^room/(?P<roomid>\d+).json$', ajax.timeslot_roomurl),
29-
url(r'^room/(?P<roomid>\d+)(.html)?/?$', views.edit_roomurl),
29+
url(r'^room/(?P<roomid>\d+)(?:.html)?/?$', views.edit_roomurl),
3030
url(r'^timeslots$', ajax.timeslot_slotsurl),
3131
url(r'^timeslots.json$', ajax.timeslot_slotsurl),
3232
url(r'^timeslot/(?P<slotid>\d+).json$', ajax.timeslot_sloturl),
@@ -50,15 +50,15 @@
5050
url(r'^requests$', views.meeting_requests),
5151
url(r'^agenda/agenda.ics$', views.ical_agenda),
5252
url(r'^agenda.ics$', views.ical_agenda),
53-
url(r'^agenda/week-view(.html)?/?$', views.week_view),
54-
url(r'^agenda/room-view(.html)?/?$', views.room_view),
55-
url(r'^week-view(.html)?/?$', views.week_view),
56-
url(r'^room-view(.html)?/$', views.room_view),
53+
url(r'^agenda/week-view(?:.html)?/?$', views.week_view),
54+
url(r'^agenda/room-view(?:.html)?/?$', views.room_view),
55+
url(r'^week-view(?:.html)?/?$', views.week_view),
56+
url(r'^room-view(?:.html)?/$', views.room_view),
5757
]
5858

5959
urlpatterns = [
6060
# TODO - views.material should take num instead of meeting_num so it can move into one of the above lists
61-
url(r'^(?P<meeting_num>\d+)/materials(.html)?/?$', views.materials),
61+
url(r'^(?P<meeting_num>\d+)/materials(?:.html)?/?$', views.materials),
6262
url(r'^requests.html$', RedirectView.as_view(url='/meeting/requests', permanent=True)),
6363
url(r'^(?P<num>\d+)/requests.html$', RedirectView.as_view(url='/meeting/%(num)s/requests', permanent=True)),
6464
url(r'^(?P<num>[A-Za-z0-9._+-]+)/', include(safe_for_all_meeting_types)),

0 commit comments

Comments
 (0)