mirror of
https://github.com/moparisthebest/curl
synced 2024-12-23 16:48:49 -05:00
URL-SYNTAX: mention how FILE:// access can access network on windows
Closes #6314
This commit is contained in:
parent
b90c23d580
commit
7ba2577988
@ -200,9 +200,16 @@ curl only allows the hostname part of a FILE URL to be one out of these three
|
|||||||
alternatives: `localhost`, `127.0.0.1` or blank ("", zero characters).
|
alternatives: `localhost`, `127.0.0.1` or blank ("", zero characters).
|
||||||
Anything else will make curl fail to parse the URL.
|
Anything else will make curl fail to parse the URL.
|
||||||
|
|
||||||
On Windows, curl accepts that the FILE URL's path starts with a "drive
|
### Windows-specific FILE details
|
||||||
letter". That's a single letter `a` to `z` followed by a colon or a pipe
|
|
||||||
character (`|`).
|
curl accepts that the FILE URL's path starts with a "drive letter". That's a
|
||||||
|
single letter `a` to `z` followed by a colon or a pipe character (`|`).
|
||||||
|
|
||||||
|
The Windows operating system itself will convert some file accesses to perform
|
||||||
|
network accesses over SMB/CIFS, through several different file path patterns.
|
||||||
|
This way, a `file://` URL passed to curl *might* be converted into a network
|
||||||
|
access inadvertently and unknowingly to curl. This is a Windows feature curl
|
||||||
|
cannot control or disable.
|
||||||
|
|
||||||
## IMAP
|
## IMAP
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user