diff options
author | Michael Kaufmann <mail@michael-kaufmann.ch> | 2017-11-20 23:48:46 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2017-11-22 11:14:44 +0100 |
commit | 914f4ed279ddc7b6f3d5b0ddaa540e1779c3cfa2 (patch) | |
tree | a503a4da53c44aa8a6c3799f4462a5194d7a5827 /tests/data/test1264 | |
parent | fa939220dfff7607ed7b0522b549ecb482a5e1ac (diff) |
test1264: verify URL with space in host name being rejected
Diffstat (limited to 'tests/data/test1264')
-rw-r--r-- | tests/data/test1264 | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/tests/data/test1264 b/tests/data/test1264 new file mode 100644 index 000000000..272db736c --- /dev/null +++ b/tests/data/test1264 @@ -0,0 +1,36 @@ +<testcase> +<info> +<keywords> +HTTP +HTTP GET +</keywords> +</info> + +# Server-side +<reply> +</reply> + +# Client-side +<client> +<server> +none +</server> +<features> +http +</features> + <name> +HTTP URL with space in host name + </name> + <command> +-g "http://127.0.0.1 www.example.com/we/want/1264" +</command> +</client> + +# Verify data after the test has been "shot" +<verify> +# CURLE_URL_MALFORMAT == 3 +<errorcode> +3 +</errorcode> +</verify> +</testcase> |