Skip to content

Commit

Permalink
Merge branch 'main' into bump-lint-1.63.4
Browse files Browse the repository at this point in the history
  • Loading branch information
jmank88 authored Jan 22, 2025
2 parents ac55fb2 + 42d2956 commit f13f703
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/workflows/wasm/host/module.go
Original file line number Diff line number Diff line change
Expand Up @@ -612,7 +612,7 @@ func createLogFn(logger logger.Logger) func(caller *wasmtime.Caller, ptr int32,
args = append(args, k, v)
}

reg, _ := regexp.Compile(`[\[\]\\/\\>\<\&\{\}\:\;]`)
reg, _ := regexp.Compile(`[\r\n\t]|[\x00-\x1F]|[<>\"'\\&%$;:{}\[\]/]`)
sanitizedMsg := reg.ReplaceAllString(msg, "*")

switch level {
Expand Down

0 comments on commit f13f703

Please sign in to comment.