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
Describe the bug
Certain characters like \ are disallowed in raw form in the userinfo section of a URI. They must be percent/url -encoded. However the vfs utility for handing authority does not handle decoding percent/url -encoded values.
Expected behavior
loc.URI() should returns the still-encoded uri as expected but the fetch the username should return the decoded value: domain.com\user but it returns domain.com%5Cuser. This will pass the wrong username to the client which fails authentication.
Additional context
This will affect both FTP and SFTP.
The text was updated successfully, but these errors were encountered:
Describe the bug
Certain characters like
\
are disallowed in raw form in the userinfo section of a URI. They must be percent/url -encoded. However the vfs utility for handing authority does not handle decoding percent/url -encoded values.To Reproduce
Steps to reproduce the behavior:
Expected behavior
loc.URI() should returns the still-encoded uri as expected but the fetch the username should return the decoded value:
domain.com\user
but it returnsdomain.com%5Cuser
. This will pass the wrong username to the client which fails authentication.Additional context
This will affect both FTP and SFTP.
The text was updated successfully, but these errors were encountered: