-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Query Optimization
-
ALL
The helper applyProjectionToOneField() in projection_executor_utils validates the field names by default, which is redundant. The validation happens on construction of a FieldPath, here
Since field names with '$' and '.' is allowed, the caller of this helper may pass in valid field names like "a.$b" then fail the validation.