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/test1426 | Bin 0 -> 1663 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 tests/data/test1426 (limited to 'tests/data/test1426') diff --git a/tests/data/test1426 b/tests/data/test1426 new file mode 100644 index 000000000..dd6a8d117 Binary files /dev/null and b/tests/data/test1426 differ -- cgit v1.2.3