mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-11-21 19:03:11 +00:00
change regex to remove a dos vuln
This commit is contained in:
parent
cf5756733d
commit
5a5fb1befd
1 changed files with 3 additions and 3 deletions
|
@ -23,17 +23,17 @@ from . import views
|
||||||
|
|
||||||
urls_functional_view = [
|
urls_functional_view = [
|
||||||
(
|
(
|
||||||
r"radius/authorize/(?P<nas_id>[^/]+)/(?P<username>.+)/(?P<mac_address>[0-9a-fA-F\:\-]{17})$",
|
r"radius/authorize/(?P<nas_id>[^/]+)/(?P<username>.+)/(?P<mac_address>[^/]{17})$",
|
||||||
views.authorize,
|
views.authorize,
|
||||||
None,
|
None,
|
||||||
),
|
),
|
||||||
(
|
(
|
||||||
r"radius/post_auth/(?P<nas_id>[^/]+)/(?P<nas_port>.+)/(?P<user_mac>[0-9a-fA-F\:\-]{17})$",
|
r"radius/post_auth/(?P<nas_id>[^/]+)/(?P<nas_port>.+)/(?P<user_mac>[^/]{17})$",
|
||||||
views.post_auth,
|
views.post_auth,
|
||||||
None,
|
None,
|
||||||
),
|
),
|
||||||
(
|
(
|
||||||
r"radius/autoregister/(?P<nas_id>[^/]+)/(?P<username>.+)/(?P<mac_address>[0-9a-fA-F\:\-]{17})$",
|
r"radius/autoregister/(?P<nas_id>[^/]+)/(?P<username>.+)/(?P<mac_address>[^/]{17})$",
|
||||||
views.autoregister_machine,
|
views.autoregister_machine,
|
||||||
None,
|
None,
|
||||||
),
|
),
|
||||||
|
|
Loading…
Reference in a new issue