summaryrefslogtreecommitdiffstats
path: root/pike
diff options
context:
space:
mode:
Diffstat (limited to 'pike')
-rw-r--r--pike/pike/proxy/urls.py2
-rw-r--r--pike/pike/proxy/urls_v1.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/pike/pike/proxy/urls.py b/pike/pike/proxy/urls.py
index b92b5354..a1020215 100644
--- a/pike/pike/proxy/urls.py
+++ b/pike/pike/proxy/urls.py
@@ -32,7 +32,7 @@ URLPATTERNS = [
services.GetTenants.as_view()),
url(r'dns-delegate/(?P<requri>[0-9a-zA-Z./_-]*)$',
dnsaasdelegate.DnsaasDelegate.as_view()),
- url(r'^(?P<servicetype>[0-9a-zA-Z_-]{,18})/(?P<requri>[0-9a-zA-Z./_-]*)$',
+ url(r'^(?P<servicetype>[0-9a-zA-Z]{,18})/(?P<requri>[0-9a-zA-Z./_-]*)$',
services.Services.as_view()),
]
diff --git a/pike/pike/proxy/urls_v1.py b/pike/pike/proxy/urls_v1.py
index 4ab75947..8d2fa66e 100644
--- a/pike/pike/proxy/urls_v1.py
+++ b/pike/pike/proxy/urls_v1.py
@@ -32,7 +32,7 @@ URLPATTERNS = [
services.APIv1GetTenants.as_view()),
url(r'dns-delegate/(?P<requri>[0-9a-zA-Z./_-]*)$',
dnsaasdelegate.APIv1DnsaasDelegate.as_view()),
- url(r'^(?P<servicetype>[0-9a-zA-Z_-]{,18})/(?P<requri>[0-9a-zA-Z./_-]*)$',
+ url(r'^(?P<servicetype>[0-9a-zA-Z]{,18})/(?P<requri>[0-9a-zA-Z./_-]*)$',
services.APIv1Services.as_view()),
]