summaryrefslogtreecommitdiff
path: root/libs/libcurl/src/smtp.c
diff options
context:
space:
mode:
authordartraiden <wowemuh@gmail.com>2020-07-07 22:32:37 +0300
committerdartraiden <wowemuh@gmail.com>2020-07-07 22:33:07 +0300
commitc1e254b55d930cccbae653320442fb7669be7692 (patch)
tree44d5ec46130218ac0e2cc8147613ff618b686657 /libs/libcurl/src/smtp.c
parent9a8de7bc1afb5f72ddb6967c8fc32209ae3a73dd (diff)
libcurl: update to 7.71.1
Diffstat (limited to 'libs/libcurl/src/smtp.c')
-rw-r--r--libs/libcurl/src/smtp.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/libs/libcurl/src/smtp.c b/libs/libcurl/src/smtp.c
index ec936480e8..685513b3b1 100644
--- a/libs/libcurl/src/smtp.c
+++ b/libs/libcurl/src/smtp.c
@@ -1689,7 +1689,8 @@ static CURLcode smtp_parse_url_path(struct connectdata *conn)
}
/* URL decode the path and use it as the domain in our EHLO */
- return Curl_urldecode(conn->data, path, 0, &smtpc->domain, NULL, TRUE);
+ return Curl_urldecode(conn->data, path, 0, &smtpc->domain, NULL,
+ REJECT_CTRL);
}
/***********************************************************************
@@ -1707,7 +1708,7 @@ static CURLcode smtp_parse_custom_request(struct connectdata *conn)
/* URL decode the custom request */
if(custom)
- result = Curl_urldecode(data, custom, 0, &smtp->custom, NULL, TRUE);
+ result = Curl_urldecode(data, custom, 0, &smtp->custom, NULL, REJECT_CTRL);
return result;
}