Check Websocket Text messages for valid UTF-8 #33

Open
opened 2022-10-16 12:55:38 +00:00 by heartles · 0 comments
Owner

Under the WebSocket spec, text messages MUST be valid UTF-8 and we must close the socket if it isn't. Codepoints CAN straddle frame boundaries, so we need to be aware of that.

We don't do any of this validation yet.

Under the WebSocket spec, text messages MUST be valid UTF-8 and we must close the socket if it isn't. Codepoints CAN straddle frame boundaries, so we need to be aware of that. We don't do any of this validation yet.
heartles added the
low-priority
label 2022-10-16 13:00:10 +00:00
heartles added the
http
label 2022-10-16 13:04:57 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: heartles/fediglam#33
No description provided.