mirror of
https://github.com/moparisthebest/curl
synced 2024-11-11 03:55:03 -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>
|