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
The instance of ToJSON given for Network.URI objects passes id for the function that is intended to sanitize passwords out of the UserInfo field of a URI, meaning that by default uses of this instance will include any password in the output:
There will be many cases where users probably do want to serialize the password component of a URI, but it is perhaps not a good default. What do you think?
The text was updated successfully, but these errors were encountered:
The instance of ToJSON given for Network.URI objects passes
id
for the function that is intended to sanitize passwords out of the UserInfo field of a URI, meaning that by default uses of this instance will include any password in the output:aeson/src/Data/Aeson/Types/ToJSON.hs
Line 2154 in c93d60d
There will be many cases where users probably do want to serialize the password component of a URI, but it is perhaps not a good default. What do you think?
The text was updated successfully, but these errors were encountered: