From 0845ecbb6dcaadad4a4891f7e85efb8c8e626ff6 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 9 Mar 2020 14:59:21 +0100 Subject: docs: add warnings about FILE: URLs on Windows - --url man page section - libcurl-security.3 gets the full text - CURLOPT_URL.3 Reported-by: Tim Sedlmeyer --- docs/libcurl/opts/CURLOPT_URL.3 | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'docs/libcurl/opts') diff --git a/docs/libcurl/opts/CURLOPT_URL.3 b/docs/libcurl/opts/CURLOPT_URL.3 index c88a1f12c..a5dcf9167 100644 --- a/docs/libcurl/opts/CURLOPT_URL.3 +++ b/docs/libcurl/opts/CURLOPT_URL.3 @@ -5,7 +5,7 @@ .\" * | (__| |_| | _ <| |___ .\" * \___|\___/|_| \_\_____| .\" * -.\" * Copyright (C) 1998 - 2019, Daniel Stenberg, , et al. +.\" * Copyright (C) 1998 - 2020, Daniel Stenberg, , et al. .\" * .\" * This software is licensed as described in the file COPYING, which .\" * you should have received as part of this distribution. The terms @@ -152,6 +152,10 @@ path. ftp://user:password@ftp.example.com//readme.txt - This retrieves the readme.txt from the root directory when logging in as a specified user. +.IP FILE +When a FILE:// URL is accessed on Windows systems, it can be crafted in a way +so that Windows attempts to connect to a (remote) machine when curl wants to +read or write such a path. .IP SMTP The path part of a SMTP request specifies the host name to present during communication with the mail server. If the path is omitted then libcurl will -- cgit v1.2.3