summaryrefslogtreecommitdiffstats
path: root/Utilities/cmcurl/lib/pop3.c
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-07-01 14:10:23 (GMT)
committerBrad King <brad.king@kitware.com>2020-07-01 14:10:23 (GMT)
commit6d423195d5bf45116e582b103846a13c986a2c27 (patch)
tree8625e5ca517707ff7a6218b997a3d41dd7c7850e /Utilities/cmcurl/lib/pop3.c
parent4e9685f657277b7a8e12370e3e991f71c041205f (diff)
parent4446fda8e019a0138bec1aa2d83a720d63019ff9 (diff)
downloadCMake-6d423195d5bf45116e582b103846a13c986a2c27.zip
CMake-6d423195d5bf45116e582b103846a13c986a2c27.tar.gz
CMake-6d423195d5bf45116e582b103846a13c986a2c27.tar.bz2
Merge branch 'upstream-curl' into update-curl
* upstream-curl: curl 2020-06-30 (5a1fc8d3)
Diffstat (limited to 'Utilities/cmcurl/lib/pop3.c')
-rw-r--r--Utilities/cmcurl/lib/pop3.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Utilities/cmcurl/lib/pop3.c b/Utilities/cmcurl/lib/pop3.c
index 2f490b2..9ff5c78 100644
--- a/Utilities/cmcurl/lib/pop3.c
+++ b/Utilities/cmcurl/lib/pop3.c
@@ -1390,7 +1390,7 @@ static CURLcode pop3_parse_url_path(struct connectdata *conn)
const char *path = &data->state.up.path[1]; /* skip leading path */
/* URL decode the path for the message ID */
- return Curl_urldecode(data, path, 0, &pop3->id, NULL, TRUE);
+ return Curl_urldecode(data, path, 0, &pop3->id, NULL, REJECT_CTRL);
}
/***********************************************************************
@@ -1408,7 +1408,7 @@ static CURLcode pop3_parse_custom_request(struct connectdata *conn)
/* URL decode the custom request */
if(custom)
- result = Curl_urldecode(data, custom, 0, &pop3->custom, NULL, TRUE);
+ result = Curl_urldecode(data, custom, 0, &pop3->custom, NULL, REJECT_CTRL);
return result;
}