xf.li | 6c8fc1e | 2023-08-12 00:11:09 -0700 | [diff] [blame] | 1 | <testcase> |
2 | <info> | ||||
3 | <keywords> | ||||
4 | --disallow-username-in-url | ||||
5 | HTTP | ||||
6 | </keywords> | ||||
7 | </info> | ||||
8 | |||||
9 | # | ||||
10 | # Client-side | ||||
11 | <client> | ||||
12 | <features> | ||||
13 | http | ||||
14 | </features> | ||||
15 | <server> | ||||
16 | none | ||||
17 | </server> | ||||
18 | <name> | ||||
19 | Verify usernames are not allowed in url | ||||
20 | </name> | ||||
21 | <command> | ||||
22 | --disallow-username-in-url http://username:password@example.com/ | ||||
23 | </command> | ||||
24 | </client> | ||||
25 | |||||
26 | # | ||||
27 | # Verify data after the test has been "shot" | ||||
28 | <verify> | ||||
29 | # CURLE_LOGIN_DENIED is code 67 | ||||
30 | <errorcode> | ||||
31 | 67 | ||||
32 | </errorcode> | ||||
33 | </verify> | ||||
34 | </testcase> |