diff --git a/radius/api/urls.py b/radius/api/urls.py index 3e141936..2ab8ec91 100644 --- a/radius/api/urls.py +++ b/radius/api/urls.py @@ -23,17 +23,17 @@ from . import views urls_functional_view = [ ( - r"radius/authorize/(?P[^/]+)/(?P.+)/(?P[0-9a-fA-F\:\-]{17})$", + r"radius/authorize/(?P[^/]+)/(?P.+)/(?P[^/]{17})$", views.authorize, None, ), ( - r"radius/post_auth/(?P[^/]+)/(?P.+)/(?P[0-9a-fA-F\:\-]{17})$", + r"radius/post_auth/(?P[^/]+)/(?P.+)/(?P[^/]{17})$", views.post_auth, None, ), ( - r"radius/autoregister/(?P[^/]+)/(?P.+)/(?P[0-9a-fA-F\:\-]{17})$", + r"radius/autoregister/(?P[^/]+)/(?P.+)/(?P[^/]{17})$", views.autoregister_machine, None, ),