mirror of
https://github.com/git/git.git
synced 2026-01-10 10:13:33 +00:00
Sync with 2.41.3
* maint-2.41: Git 2.41.3 Git 2.40.4 credential: disallow Carriage Returns in the protocol by default credential: sanitize the user prompt credential_format(): also encode <host>[:<port>] t7300: work around platform-specific behaviour with long paths on MinGW compat/regex: fix argument order to calloc(3) mingw: drop bogus (and unneeded) declaration of `_pgmptr` ci: remove 'Upload failed tests' directories' step from linux32 jobs
This commit is contained in:
@@ -134,7 +134,9 @@ struct credential {
|
||||
configured:1,
|
||||
quit:1,
|
||||
use_http_path:1,
|
||||
username_from_proto:1;
|
||||
username_from_proto:1,
|
||||
sanitize_prompt:1,
|
||||
protect_protocol:1;
|
||||
|
||||
char *username;
|
||||
char *password;
|
||||
@@ -149,6 +151,8 @@ struct credential {
|
||||
.helpers = STRING_LIST_INIT_DUP, \
|
||||
.password_expiry_utc = TIME_MAX, \
|
||||
.wwwauth_headers = STRVEC_INIT, \
|
||||
.sanitize_prompt = 1, \
|
||||
.protect_protocol = 1, \
|
||||
}
|
||||
|
||||
/* Initialize a credential structure, setting all fields to empty. */
|
||||
|
||||
Reference in New Issue
Block a user