diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2020-07-27 16:22:41 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2020-07-27 16:22:41 +0300 |
commit | b3732e84b40490c0d21ae6f898f43f214120717f (patch) | |
tree | cff0e7a613fa284d5260a95c96ade1845c94494d | |
parent | 5972fbd56415b7fc9c62537738f69c633af5d9d4 (diff) |
Fix command logs UTF-8-sanitization
-rw-r--r-- | bbot/worker/worker.cxx | 2 | ||||
-rw-r--r-- | tests/integration/testscript | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/bbot/worker/worker.cxx b/bbot/worker/worker.cxx index e436fa1..81204bd 100644 --- a/bbot/worker/worker.cxx +++ b/bbot/worker/worker.cxx @@ -152,7 +152,7 @@ run_cmd (tracer& t, text << s; } - to_utf8 (s, '?'); + to_utf8 (s, '?', codepoint_types::graphic, U"\n\r\t"); log += s; log += '\n'; diff --git a/tests/integration/testscript b/tests/integration/testscript index 0d4eabf..1d7a013 100644 --- a/tests/integration/testscript +++ b/tests/integration/testscript @@ -49,7 +49,7 @@ wait = 1 # Seconds. controller = --fake-request ../task --dump-result pkg = libhello -ver = 1.0.0+5 +ver = 1.0.0+6 #rep_url = https://build2.org/pkg/1/hello/stable #rfp = FF:DF:7D:38:67:4E:C3:82:65:7E:EE:1F:D4:80:EC:56:C4:33:5B:65:3F:9B:29:9A:30:56:B9:77:B9:F2:01:94 rep_url = https://stage.build2.org/1 |