mirror of
https://github.com/curl/curl.git
synced 2026-07-24 18:27:20 +03:00
parse_remote_port: fix ;type= URL suffix over HTTP proxy
Test 563 is enabled now and verifies that the combo FTP type=A URL, CURLOPT_PORT set and proxy work fine. As a bonus I managed to remove the somewhat odd FTP check in parse_remote_port() and instead converted it to a better and more generic 'slash_removed' struct field. Checking the ->protocol field isn't right since when an FTP:// URL is sent over a HTTP proxy, the protocol is HTTP but the URL was handled by the FTP code and thus slash_removed is set TRUE for this case.
This commit is contained in:
parent
5d5dd08e77
commit
dc2157a087
5 changed files with 18 additions and 10 deletions
|
|
@ -2,5 +2,4 @@
|
|||
# test cases are run by runtests.pl. Just add the plain test case numbers, one
|
||||
# per line.
|
||||
# Lines starting with '#' letters are treated as comments.
|
||||
563
|
||||
564
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue