Closed lithorus closed 1 year ago
Strange. I use the newest version and have lots of custom data... and this is not happening....
Any af::Node has custom data and it is escaped on writing: https://github.com/CGRU/cgru/blob/master/afanasy/src/libafanasy/afnode.cpp#L108 But af::BlockData is not af::Node it was not. May be you are using custom data on Nodes only (User, Job, Render,...).
Ah! I am using it on the job. Did not know its possible on the block! Nice!
When a job is created with json in the custom_data property the job is discarded by the server.
This is due to the job data on disk is also encoded as json and the custom_data is not escaped.
Code to reproduce it :