diff options
author | dartraiden <wowemuh@gmail.com> | 2020-07-07 22:32:37 +0300 |
---|---|---|
committer | dartraiden <wowemuh@gmail.com> | 2020-07-07 22:33:07 +0300 |
commit | c1e254b55d930cccbae653320442fb7669be7692 (patch) | |
tree | 44d5ec46130218ac0e2cc8147613ff618b686657 /libs/libcurl/src/imap.c | |
parent | 9a8de7bc1afb5f72ddb6967c8fc32209ae3a73dd (diff) |
libcurl: update to 7.71.1
Diffstat (limited to 'libs/libcurl/src/imap.c')
-rw-r--r-- | libs/libcurl/src/imap.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/libs/libcurl/src/imap.c b/libs/libcurl/src/imap.c index 14c76f08e7..cad0e5908d 100644 --- a/libs/libcurl/src/imap.c +++ b/libs/libcurl/src/imap.c @@ -1957,7 +1957,7 @@ static CURLcode imap_parse_url_path(struct connectdata *conn) end--; result = Curl_urldecode(data, begin, end - begin, &imap->mailbox, NULL, - TRUE); + REJECT_CTRL); if(result) return result; } @@ -1979,7 +1979,8 @@ static CURLcode imap_parse_url_path(struct connectdata *conn) return CURLE_URL_MALFORMAT; /* Decode the name parameter */ - result = Curl_urldecode(data, begin, ptr - begin, &name, NULL, TRUE); + result = Curl_urldecode(data, begin, ptr - begin, &name, NULL, + REJECT_CTRL); if(result) return result; @@ -1989,7 +1990,8 @@ static CURLcode imap_parse_url_path(struct connectdata *conn) ptr++; /* Decode the value parameter */ - result = Curl_urldecode(data, begin, ptr - begin, &value, &valuelen, TRUE); + result = Curl_urldecode(data, begin, ptr - begin, &value, &valuelen, + REJECT_CTRL); if(result) { free(name); return result; @@ -2077,7 +2079,7 @@ static CURLcode imap_parse_custom_request(struct connectdata *conn) if(custom) { /* URL decode the custom request */ - result = Curl_urldecode(data, custom, 0, &imap->custom, NULL, TRUE); + result = Curl_urldecode(data, custom, 0, &imap->custom, NULL, REJECT_CTRL); /* Extract the parameters if specified */ if(!result) { |