From 5385450afd61328e7d24b50eeffc2b1571cd9e2f Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Fri, 16 Jun 2017 11:30:36 +0200 Subject: curl: prevent binary output spewed to terminal ... unless "--output -" is used. Binary detection is done by simply checking for a binary zero in early data. Added test 1425 1426 to verify. Closes #1512 --- tests/data/test1425 | Bin 0 -> 1726 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 tests/data/test1425 (limited to 'tests/data/test1425') diff --git a/tests/data/test1425 b/tests/data/test1425 new file mode 100644 index 000000000..0044c69d5 Binary files /dev/null and b/tests/data/test1425 differ -- cgit v1.2.3