mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-12-18 09:32:14 -05:00
Reject additional path segments
This commit is contained in:
parent
77c7ed0e93
commit
1d19a5ec0f
3 changed files with 6 additions and 6 deletions
|
|
@ -26,7 +26,7 @@ logger = logging.getLogger(__name__)
|
|||
|
||||
|
||||
class WhoisRestServlet(ClientV1RestServlet):
|
||||
PATTERNS = client_path_patterns("/admin/whois/(?P<user_id>[^/]*)")
|
||||
PATTERNS = client_path_patterns("/admin/whois/(?P<user_id>[^/]*)$")
|
||||
|
||||
@defer.inlineCallbacks
|
||||
def on_GET(self, request, user_id):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue