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

Trailing slash is referred to as trailing comma in error message

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor - P4 Minor - P4
    • 4.4.0-rc0, 4.7.0
    • 4.3.4
    • None
    • Fully Compatible
    • ALL
    • v4.4
    • Security 2020-04-06

    Description

      In https://github.com/10gen/mongo-enterprise-modules/blob/master/src/sasl/sasl_aws_server_protocol.cpp#L106 I see the following lines of code:

       
          size_t trailingSlash = authHeader.find('/', pos);
      uassert(51743, "Credential missing trailing comma", trailingSlash != std::string::npos);
      

      It seems to me that this message should be referring to a trailing slash rather than a trailing comma.

      Attachments

        Activity

          People

            mark.benvenuto@mongodb.com Mark Benvenuto
            oleg.pudeyev@mongodb.com Oleg Pudeyev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: