d4ebdc5b97
Fixes FS#28106, where we couldn't view packages with names containing the '@' symbol. Rather than whitelist things, switch to a blacklist of only a space and slash character. Signed-off-by: Dan McGee <dan@archlinux.org>
10 lines
289 B
Python
10 lines
289 B
Python
from django.conf.urls.defaults import patterns
|
|
|
|
urlpatterns = patterns('packages.views',
|
|
(r'^$', 'groups', {}, 'groups-list'),
|
|
(r'^(?P<arch>[A-z0-9]+)/$', 'groups'),
|
|
(r'^(?P<arch>[A-z0-9]+)/(?P<name>[^ /]+)/$', 'group_details'),
|
|
)
|
|
|
|
# vim: set ts=4 sw=4 et:
|