From fe8ba51209959c6ff200b4f7c847c7a3fc53ecfa Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Tue, 10 Mar 2020 17:47:44 +0100 Subject: server/getpart: make the "XML-parser" stricter When extracting a
and there's no before
, this now outputs an error and returns a wrong string to make users spot the mistake. Ref: #5070 Closes #5071 --- tests/data/test1451 | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'tests/data/test1451') diff --git a/tests/data/test1451 b/tests/data/test1451 index 0c114e186..a98e24ec6 100644 --- a/tests/data/test1451 +++ b/tests/data/test1451 @@ -8,7 +8,9 @@ SMB # # Server-side -Basic SMB test complete + +Basic SMB test complete + # @@ -20,10 +22,10 @@ smb smb - + Basic SMB request - - + + -u 'curltest:curltest' smb://%HOSTIP:%SMBPORT/TESTS/1451 @@ -31,6 +33,8 @@ Basic SMB request # # Verify data after the test has been "shot" -Basic SMB test complete + +Basic SMB test complete + -- cgit v1.2.3