[SERVER-38676] Handle all bool types in enableTestCommands validation handling Created: 17/Dec/18 Updated: 29/Oct/23 Resolved: 18/Dec/18 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 4.1.7 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Sara Golemon | Assignee: | Sara Golemon |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible |
| Operating System: | ALL |
| Sprint: | Security 2018-12-31 |
| Participants: |
| Description |
|
Handling of enableTestCommands to disable setParameters in sever_options_helpers.cpp does a strict compare against the string "1". Instead, it should use standard coersion rules to promote "true"/"false"/"1"/"0" to appropriate boolean values.
|
| Comments |
| Comment by Githook User [ 18/Dec/18 ] |
|
Author: {'username': 'sgolemon', 'email': 'sara.golemon@mongodb.com', 'name': 'Sara Golemon'}Message: |