Validate trimFactor in FLE payloads

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Queryable Encryption
    • None
    • Server Security
    • Server Security 2026-06-19
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      SERVER-91887 added payload parameter validation against the collection's stored QueryTypeConfig, but it left out trimFactor in range payloads. trimFactor has a static default, but it is clamped at runtime to check that it's not greater than the number of bits for the leaf edges, making validation more complicated

            Assignee:
            Sam Frank
            Reporter:
            Sam Frank
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: