Closed leplatrem closed 2 years ago
Thinking out loud here:
"lineHeight": 1.25
, or is that just a hard limitation of remote-settings? Would they use a string ("lineHeight": "1.25"
) instead?~ Edit: nvm! Read the docstring on the pull request and answered this question ✅kinto-admin
? If so, should we add front end validation for this as well?Do we know if this was submitted with kinto-admin? If so, should we add front end validation for this as well?
If the server returns a 400, kinto-admin should show it nicely (more or less).
In this particular case, it was submitted from the experimenter server. I'm not sure how it shows up in their UI.
The data below was posted successfully on the server, whereas the server should have rejected it because it contains a float value (see
lineHeight: 1.25
).We know that our javascript canonicaljson implementation does not serialize floats the same way as our Rust one, and that's why we have a Pyramid listener that should prevent users to post float values.