lambda-stash icon indicating copy to clipboard operation
lambda-stash copied to clipboard

Update convertString to handle values with double quotes

Open arithmetric opened this issue 4 years ago • 1 comments

Currently the convertString handler builds a string like key="value". However value can contain double quote characters, which can cause problems with some parsers.

This PR changes convertString to replace all double quotes with another character, either by default a single quote or another character specified through configuration.

arithmetric avatar Dec 28 '20 20:12 arithmetric

Coverage Status

Coverage remained the same at 100.0% when pulling 4b9ced983d5869d320adabe4cca582f53a65ad8b on fix_cloudwatch_logs_with_quotes into 9ac3c6ed6a969b0c084f42d3c359d72a0457f529 on master.

coveralls avatar Dec 28 '20 20:12 coveralls