Commits

George Notaras committed 72972e5

Added slash to the valid characters in the 'export_zone' url pattern.

Comments (0)

Files changed (1)

src/powerdns_manager/urls.py

 urlpatterns = patterns('powerdns_manager.views',
     url(r'^import/zonefile/$', 'import_zone_view', name='import_zone'),
     url(r'^import/axfr/$', 'import_axfr_view', name='import_axfr'),
-    url(r'^export/(?P<origin>[.\-_\w]+)/$', 'export_zone_view', name='export_zone'),
+    url(r'^export/(?P<origin>[/.\-_\w]+)/$', 'export_zone_view', name='export_zone'),
     url(r'^update/$', 'dynamic_ip_update_view', name='dynamic_ip_update'),
 )