With CURLOPT_PROXY_TRANSFER_MODE, avoid sending invalid URLs like

ftp://example.com;type=i if the user specified ftp://example.com without the
slash.
This commit is contained in:
Michal Marek
2009-08-21 12:15:35 +00:00
parent 8b5102ca83
commit 10f2fa9c72
2 changed files with 19 additions and 7 deletions

View File

@@ -6,6 +6,11 @@
Changelog
Michal Marek (21 Aug 2009)
- With CURLOPT_PROXY_TRANSFER_MODE, avoid sending invalid URLs like
ftp://example.com;type=i if the user specified ftp://example.com without the
slash.
Daniel Stenberg (21 Aug 2009)
- Andre Guibert de Bruet pointed out a missing return code check for a
strdup() that could lead to segfault if it returned NULL. I extended his