From 8e65877870c1fac920b65219adec720df810aab9 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Fri, 24 Mar 2017 10:14:21 +0100 Subject: curl: check for end of input in writeout backslash handling Reported-by: Brian Carpenter Added test 1442 to verify --- tests/data/test1442 | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 tests/data/test1442 (limited to 'tests/data/test1442') diff --git a/tests/data/test1442 b/tests/data/test1442 new file mode 100644 index 000000000..255a4c9ff --- /dev/null +++ b/tests/data/test1442 @@ -0,0 +1,35 @@ + + + +--write-out +FILE + + +# Server-side + + + +# Client-side + + +file + + + +Check --write-out with trailing \ + + +file://localhost/%PWD/log/non-existent-file.txt --write-out '\' + + + +# Verify data + + +37 + + +\ + + + -- cgit v1.2.3