mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-09 04:57:40 +00:00
fix: replace control-char regex with explicit sanitizer
This commit is contained in:
@@ -36,7 +36,6 @@ function replaceControlChars(value: string): string {
|
|||||||
}
|
}
|
||||||
return cleaned;
|
return cleaned;
|
||||||
}
|
}
|
||||||
|
|
||||||
const sanitizeLogValue = (value: string | undefined): string | undefined => {
|
const sanitizeLogValue = (value: string | undefined): string | undefined => {
|
||||||
if (!value) {
|
if (!value) {
|
||||||
return undefined;
|
return undefined;
|
||||||
|
|||||||
Reference in New Issue
Block a user