We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 915c7ae commit 4d62a06Copy full SHA for 4d62a06
views/websockets.py
@@ -22,7 +22,7 @@ async def websocket_upload(websocket: WebSocket, uid: str):
22
Then, the client must wait for the signal before sending file chunks.
23
"""
24
if any(char not in string.ascii_letters + string.digits + '-' for char in uid):
25
- log.debug(f"△ Invalid transfer ID: {uid}")
+ log.debug(f"△ Invalid transfer ID: \"{str(uid).translate(str.maketrans(None, None, '\n\r\b')).strip()}\"")
26
await websocket.close(code=1008, reason="Invalid transfer ID")
27
return
28
0 commit comments