Password exported by "Generate session URL" has html encoded characters
This is with WinSCP 5.7.5 (build 5665)
I have been given a password (that starts) with a comma ",".
For scripting purposes, I use the "Generate Session URL" feature. The result of which is for example:
sftp://myuser:%2Ccomma@sftp.server.com/dir1/dir2/
In that case the password was
,comma
When using that URL in a script the connection fails, If I adapt the URL to
sftp://myuser:,comma@sftp.server.com/dir1/dir2/
The connection works fine.
So there is a simple workaround, but some people might be get confused over this small bug.
J.
I have been given a password (that starts) with a comma ",".
For scripting purposes, I use the "Generate Session URL" feature. The result of which is for example:
sftp://myuser:%2Ccomma@sftp.server.com/dir1/dir2/
In that case the password was
,comma
When using that URL in a script the connection fails, If I adapt the URL to
sftp://myuser:,comma@sftp.server.com/dir1/dir2/
The connection works fine.
So there is a simple workaround, but some people might be get confused over this small bug.
J.