mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
test-bot: remove more bad unicode characters.
This commit is contained in:
parent
fffba3dc7d
commit
514910e812
@ -823,7 +823,7 @@ module Homebrew
|
||||
|
||||
if step.has_output?
|
||||
# Remove invalid XML CData characters from step output.
|
||||
output = step.output.delete("\000\a\b\e\f\x1f")
|
||||
output = step.output.delete("\000\a\b\e\f\x2\x1f")
|
||||
|
||||
if output.bytesize > BYTES_IN_1_MEGABYTE
|
||||
output = "truncated output to 1MB:\n" \
|
||||
|
Loading…
x
Reference in New Issue
Block a user