mirror of
https://github.com/storytold/cadcraft.git
synced 2026-11-22 05:51:34 -06:00
Collecting every key of the request object into a map before the token check let an unauthenticated peer turn a line of many short distinct keys into many owned strings and map nodes. The parser now keeps only id, method, params and token (as JSON text) and skips the rest; a repeated key still takes the last value.