Skip to content

Resolve "Password-fields aren't proper escaped and may lead to malformed gitlab.yml

The single_quote helper wraps a given string in single quotes, but doesn't do any specific quoting of any single quotes that may be in the string.

In order to not try and confuse the meaning of the single_quote helper, here we add a new helper, yaml_string which is intended to provide a yaml-safe string representation of a value.

Closes #1354 (closed) once all appropriate uses have been floated through the code

Edited by username-removed-804843

Merge request reports