diff --git a/supervisor/http.py b/supervisor/http.py index 2e260cdcf..93156e984 100644 --- a/supervisor/http.py +++ b/supervisor/http.py @@ -703,7 +703,7 @@ def __init__(self, supervisord): self.supervisord = supervisord def match(self, request): - return request.uri.startswith(self.path) + return self.path in request.uri def handle_request(self, request): if request.command != 'GET': @@ -768,7 +768,7 @@ def __init__(self, supervisord): self.supervisord = supervisord def match(self, request): - return request.uri.startswith(self.path) + return self.path in request.uri def handle_request(self, request): if request.command != 'GET':