Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: _readyCheck INFO parser's handling of colon characters (#1127)
This commit fixes an issue which would occur when encountering INFO response field values containing the colon character. Because the parser logic splits entire lines upon colon character delimiters and took only the first component as the field name, and second component as the field value, any line containing multiple colons would ultimately lead to an incorrectly truncated field value. For example: "config_file:Y:\\redis\\redis.conf" Would be split into: ["config_file", "Y", "\\redis\\redis.conf"] Leading to a field name of "config_file" and an incorrect field value of "Y". The resolution is simply to handle additional field value components as needed, joining them together appropriately.
- Loading branch information