diff --git a/monkey/monkey_island/cc/app.py b/monkey/monkey_island/cc/app.py index 16e945cf4..8b54e020b 100644 --- a/monkey/monkey_island/cc/app.py +++ b/monkey/monkey_island/cc/app.py @@ -138,7 +138,7 @@ class FlaskDIWrapper: @staticmethod def _format_url(url: str): - new_url = url.rstrip("/") + new_url = url.strip("/") return FlaskDIWrapper.url_parameter_regex.sub("", new_url)