You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
URIs like foo://:pwd@host are parsed correctly, i.e. _parts contains the correct info. But both userinfo() and toString() first check if username is set and ignore the password if username is empty.
The text was updated successfully, but these errors were encountered:
The entire <username>:<password> scheme seems to be an unspecified semantic, even though 7.5. Sensitive Information is warning not to expose secret data in URLs.
Anyway, to fix your particular issue you'll want to look at URI.buildUserinfo() and its test. PR welcome :)
URIs like
foo://:pwd@host
are parsed correctly, i.e._parts
contains the correct info. But bothuserinfo()
andtoString()
first check if username is set and ignore the password if username is empty.The text was updated successfully, but these errors were encountered: