Commit bbda22dd authored by Jolly Pirate's avatar Jolly Pirate

escape the slash in regex

parent ae6c6c77
......@@ -18,7 +18,7 @@ from .errors import InvalidUpstreamURL
logger = structlog.get_logger(__name__)
ACCOUNT_TRANSFER_PATTERN = re.compile(r'^\/?(@([^\/\s]+)/transfers|~?witnesses|proposals)$')
ACCOUNT_TRANSFER_PATTERN = re.compile(r'^\/?(@([^\/\s]+)\/transfers|~?witnesses|proposals)$')
# -------------------
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment