[SERVER-51514] ProgramRunner::launchProcess() should escape backslashes on Windows Created: 13/Oct/20  Updated: 29/Oct/23  Resolved: 14/Oct/20

Status: Closed
Project: Core Server
Component/s: Shell
Affects Version/s: None
Fix Version/s: 4.9.0

Type: Improvement Priority: Major - P3
Reporter: Gregory Wlodarek Assignee: Gregory Wlodarek
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-51147 Use the import configuration option t... Closed
Backwards Compatibility: Fully Compatible
Sprint: Execution Team 2020-10-19
Participants:

 Description   

The code will escape all embedded quotes here but not backslashes.

This ticket is required by SERVER-51147, which exports WiredTiger metadata strings to be used later for importing collections. The exported WiredTiger metadata strings already perform their own escaping and this additional escaping causes parsing problems in WiredTiger during the import.



 Comments   
Comment by Githook User [ 13/Oct/20 ]

Author:

{'name': 'Gregory Wlodarek', 'email': 'gregory.wlodarek@mongodb.com', 'username': 'GWlodarek'}

Message: SERVER-51514 ProgramRunner::launchProcess() should escape backslashes on Windows
Branch: master
https://github.com/mongodb/mongo/commit/bd0d70757b89507312451b9791f81b96b5e35e3d

Comment by Githook User [ 13/Oct/20 ]

Author:

{'name': 'Gregory Wlodarek', 'email': 'gregory.wlodarek@mongodb.com', 'username': 'GWlodarek'}

Message: SERVER-51514 ProgramRunner::launchProcess() should escape backslashes on Windows
Branch: master
https://github.com/10gen/mongo-enterprise-modules/commit/76c5466759111efcdf34d120252239629e122c12

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