Mappings: Restrict unexpected characters from field names #12094
Labels
>breaking
>enhancement
:Search Foundations/Mapping
Index mappings, including merging and defining field types
You can manage to slip unexpected characters into field names, like
\n
,\0
(\u0000
),\t
,\'
,\"
, etc. I think that we should prevent this, but the change would create a backwards incompatible restriction.Big caveat/counter argument: as long as they're escaped, these unexpected characters are valid JSON.
The text was updated successfully, but these errors were encountered: