Skip to content

@onlyworlds/sdk 4.122.1

Choose a tag to compare

@github-actions github-actions released this 31 Oct 12:09
· 261 commits to main since this release

Fixed

  • Every value a call puts in a request path is sent as one escaped segment. get, upsert, patch, delete, editLinks, adopt, hide, unhide, draught, list and create put the element type, id, link field or Character id into the path as given, so an id carrying a /, ? or # asked a different route (get('character', 'abc/hidden') asked GET /character/abc/hidden/). They now escape each one, as the file, review and proposal routes already escaped the id; the type is escaped on those routes too. On a real id (the API declares every element id a UUID) nothing on the wire changes. A test reads every request path in the client's source and fails on one that interpolates a value unescaped.