aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2020-07-27 16:22:41 +0300
committerBoris Kolpackov <boris@codesynthesis.com>2020-07-29 15:10:53 +0200
commitdce44ca210a4fea8879efa731d3691a34ebbe984 (patch)
tree6abe38bec0b5083db1b7582948fe0057fdf12508
parentc080e2458b4e4129e9cba8ce79582744fc66b51c (diff)
Fix command logs UTF-8-sanitization
-rw-r--r--bbot/worker/worker.cxx2
-rw-r--r--tests/integration/testscript2
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