fair-acc / opencmw-cpp

Open Common Middle-Ware library for accelerator equipment- and beam-based control systems at FAIR.
https://opencmw.io
GNU Lesser General Public License v3.0
10 stars 8 forks source link

Rest/Mustache issues with parsing of multipart form data #307

Open wirew0rm opened 1 year ago

wirew0rm commented 1 year ago

The RestPlugin has some issues with numeric and boolean data submitted via form-multipart because the data is sent quoted but expected to be unquoted. The problems are demonstrated in the commented out testcases introduced in #296

https://github.com/fair-acc/opencmw-cpp/blob/main/src/majordomo/test/majordomoworker_rest_tests.cpp#L84-L88