Trouble with special character in password

Advertisement

k3flo
Joined:
Posts:
2
Location:
Deutschland

Trouble with special character in password

Hi,

i'm trying to connect to an SFTP Server using the latest beta release (5.2.4 beta).
Connecting via WinSCP.exe works fine.
Connecting via .NET (4.0) assembly fails on password authentication.

I reflected the WindSCPnet.dll and found the issue. The SessionOptionsToOpenArguments()-method in Session.cs Uri-escapes the Password using Uri.EscapeDataString(). The problem is that the Uri.EscapeDataString()-method returns %C2%A7 for the character § instead of %A7 which is expected.

Any ideas to force the Uri.EscapeDataString()-method to return %A7 instead of %C2%A7?
Any other ideas?

Thank you.

Reply with quote

Advertisement

Advertisement

You can post new topics in this forum