Skip to content
Permalink
Browse files

fixup! libcurl: Restrict redirect schemes

  • Loading branch information...
Linos Giannopoulos
Linos Giannopoulos committed Jul 10, 2019
1 parent bcfc759 commit b45f7bfe3f19c9ffcc848a2dbcfe427e020ee7bc
Showing with 1 addition and 2 deletions.
  1. +1 −2 lib/url.c
@@ -488,8 +488,7 @@ CURLcode Curl_init_userdefined(struct Curl_easy *data)
define since we internally only use the lower 16 bits for the passed
in bitmask to not conflict with the private bits */
set->allowed_protocols = CURLPROTO_ALL;
set->redir_protocols = CURLPROTO_HTTP | CURLPROTO_HTTPS | CURLPROTO_FTP
| CURLPROTO_FTPS;
set->redir_protocols = CURLPROTO_HTTP | CURLPROTO_HTTPS | CURLPROTO_FTP;

#if defined(HAVE_GSSAPI) || defined(USE_WINDOWS_SSPI)
/*

0 comments on commit b45f7bf

Please sign in to comment.
You can’t perform that action at this time.