Field names can only contain non-control ASCII characters
I have a query that returns an object with keys that contain unicode characters and convex returns an error.
I'm quite perplexed why this limitation even exist. Is there any way I can workaround this?
2 Replies
It's saying specifically that control characters can't be used.
It's just an attack vector that's better avoided. Here's one example: https://portswigger.net/research/drag-and-pwnd-leverage-ascii-characters-to-exploit-vs-code
PortSwigger Research
Drag and Pwnd: Leverage ASCII characters to exploit VS Code
Control characters like SOH, STX, EOT and ETX were never meant to run your code - but in the world of modern terminal emulators, they sometimes do. In this post, I'll dive into the forgotten mechanics