-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Closed
Labels
Description
I found that I can not use setting like this, I'll keep asking me the Username and Password
[lfs]
url = "http://temp:temp@localhost:8080/temp/test"
I'll respectfully suggest this project to support URL that contains username and password, thanks!
REF: https://www.ietf.org/rfc/rfc1738.txt
3.1. Common Internet Scheme Syntax
While the syntax for the rest of the URL may vary depending on the
particular scheme selected, URL schemes that involve the direct use
of an IP-based protocol to a specified host on the Internet use a
common syntax for the scheme-specific data:
//<user>:<password>@<host>:<port>/<url-path>
Some or all of the parts "<user>:<password>@", ":<password>",
":<port>", and "/<url-path>" may be excluded. The scheme specific
data start with a double slash "//" to indicate that it complies with
the common Internet scheme syntax. The different components obey the
following rules:
user
An optional user name. Some schemes (e.g., ftp) allow the
specification of a user name.
password
An optional password. If present, it follows the user
name separated from it by a colon.
The user name (and password), if present, are followed by a
commercial at-sign "@". Within the user and password field, any ":",
"@", or "/" must be encoded.
Reactions are currently unavailable