mirror of
https://github.com/farcasclaudiu/openclaw.git
synced 2026-06-28 23:02:02 +03: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