Skip to content

JSON escape the change log entry

What does this MR do?

This MR relates to gitlab-org/gitlab#285443 (closed)

Some characters in a changelog message can cause the deployment to fail. This MR aims to escape such characters.

Example problematic changelog message:

- Improve ability to find the "login" button when running authenticated scans (!342)

This message would result in the

{"tag_name":"v1.33.1","description":" ##### Changes\n - Improve ability to find the "login" button when running authenticated scans (!342)"}

This MR updates that message to:

{"tag_name":"v1.33.1","description":" ##### Changes\n - Improve ability to find the \"login\" button when running authenticated scans (!342)"}

What are the relevant issue numbers?

Does this MR meet the acceptance criteria?

Edited by Craig Smith

Merge request reports