mirror of
https://github.com/curl/curl.git
synced 2026-08-05 10:36:13 +03:00
curl/add_file_name_to_url: use the libcurl URL parser
instead of the custom error-prone parser, to extract and update the path of the given URL Closes #9683
This commit is contained in:
parent
b82eb72d80
commit
d24a2ffefe
4 changed files with 62 additions and 52 deletions
|
|
@ -33,7 +33,7 @@ bool output_expected(const char *url, const char *uploadfile);
|
|||
|
||||
bool stdin_upload(const char *uploadfile);
|
||||
|
||||
char *add_file_name_to_url(char *url, const char *filename);
|
||||
CURLcode add_file_name_to_url(CURL *curl, char **inurlp, const char *filename);
|
||||
|
||||
CURLcode get_url_file_name(char **filename, const char *url);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue