[SERVER-46908] Trailing slash is referred to as trailing comma in error message Created: 17/Mar/20  Updated: 29/Oct/23  Resolved: 24/Mar/20

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: 4.3.4
Fix Version/s: 4.4.0-rc0, 4.7.0

Type: Bug Priority: Minor - P4
Reporter: Oleg Pudeyev (Inactive) Assignee: Mark Benvenuto
Resolution: Fixed Votes: 0
Labels: neweng
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v4.4
Sprint: Security 2020-04-06
Participants:

 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.



 Comments   
Comment by Githook User [ 25/Mar/20 ]

Author:

{'name': 'Mark Benvenuto', 'username': 'markbenvenuto', 'email': 'mark.benvenuto@mongodb.com'}

Message: SERVER-46908 Trailing slash is referred to as trailing comma in error message

(cherry picked from commit ae0026d98075aba5e81318748287325656685339)
Branch: v4.4
https://github.com/10gen/mongo-enterprise-modules/commit/302a0bfc3f754dfded8da1986c2420cbf44e34a2

Comment by Githook User [ 24/Mar/20 ]

Author:

{'email': 'mark.benvenuto@mongodb.com', 'name': 'Mark Benvenuto', 'username': 'markbenvenuto'}

Message: SERVER-46908 Trailing slash is referred to as trailing comma in error message
Branch: master
https://github.com/10gen/mongo-enterprise-modules/commit/ae0026d98075aba5e81318748287325656685339

Generated at Thu Feb 08 05:12:46 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.