Skip to content

JSONencode strings at configuration time #9

Description

@cbdevnet

Currently, strings are used as specified in the configuration file and printed as-is into the JSON responses. This works fine with ASCII, but breaks when using anything other than that.

The easiest/cheapest (in terms of memory copies) method of solving this would be to JSON-encode these strings at configuration time and just use them like that. The command and layout names additionally will have to be URL-encoded for use in requests.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions