mirror of
https://github.com/moparisthebest/curl
synced 2024-11-15 22:15:13 -05:00
35 lines
449 B
Plaintext
35 lines
449 B
Plaintext
|
<testcase>
|
||
|
<info>
|
||
|
<keywords>
|
||
|
--disallow-username-in-url
|
||
|
HTTP
|
||
|
</keywords>
|
||
|
</info>
|
||
|
|
||
|
#
|
||
|
# Client-side
|
||
|
<client>
|
||
|
<features>
|
||
|
http
|
||
|
</features>
|
||
|
<server>
|
||
|
none
|
||
|
</server>
|
||
|
<name>
|
||
|
Verify usernames are not allowed in url
|
||
|
</name>
|
||
|
<command>
|
||
|
--disallow-username-in-url http://username:password@example.com/
|
||
|
</command>
|
||
|
</client>
|
||
|
|
||
|
#
|
||
|
# Verify data after the test has been "shot"
|
||
|
<verify>
|
||
|
# CURLE_LOGIN_DENIED is code 67
|
||
|
<errorcode>
|
||
|
67
|
||
|
</errorcode>
|
||
|
</verify>
|
||
|
</testcase>
|