mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
[rubygems/rubygems] Pass second argument to Array#split to ensure only two values returned
https://github.com/rubygems/rubygems/commit/601b5553bb
This commit is contained in:
parent
c119dd2b5a
commit
5f205073d2
Notes:
git
2021-08-31 19:06:59 +09:00
1 changed files with 1 additions and 1 deletions
|
@ -419,7 +419,7 @@ module Bundler
|
|||
elsif is_credential(key)
|
||||
"[REDACTED]"
|
||||
elsif is_userinfo(converted)
|
||||
username, pass = converted.split(":")
|
||||
username, pass = converted.split(":", 2)
|
||||
|
||||
if pass == "x-oauth-basic"
|
||||
username = "[REDACTED]"
|
||||
|
|
Loading…
Reference in a new issue