Skip to content

Commit

Permalink
OP-22529: Bugfix for update pipeline with unicode (#478)
Browse files Browse the repository at this point in the history
  • Loading branch information
sudhakaropsmx authored Aug 16, 2024
1 parent 3ca3d76 commit e69c588
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ class PipelineController {
job : [
[
type : 'updatePipeline',
pipeline: (String) Base64.encoder.encodeToString(objectMapper.writeValueAsString(pipeline).bytes),
pipeline: (String) Base64.encoder.encodeToString(objectMapper.writeValueAsString(pipeline).getBytes("UTF-8")),
user : AuthenticatedRequest.spinnakerUser.orElse("anonymous")
]
]
Expand Down

0 comments on commit e69c588

Please sign in to comment.