Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-75343

Fix field name redaction

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor - P4 Minor - P4
    • 7.0.0-rc0
    • None
    • None
    • None
    • Query Optimization
    • Fully Compatible
    • QO 2023-04-03, QO 2023-04-17

    Description

      We currently have two functions FieldPath::redactedFullPath and SerializationOptions::serializeFieldName to redact the field name. The latter does not properly redact components of dotted field paths separately. We should fix and test that bug, and consider consolidating the functions so there's only one entrypoint for field name serialization.

      We should also consider the role of FieldPath::fulPath (we should be able to keep one function with SerializationOptions provided rather than separate functions for redacted and non-redacted versions). Overall, we gotta clean up the api with which we're redacting field names.

      Attachments

        Activity

          People

            will.buerger@mongodb.com Will Buerger
            charlie.swanson@mongodb.com Charlie Swanson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: