Bug 1647 – Do not match URL after stripping protocol against stored site name in scripting/automation
The function was added in WinSCP 3.6:
> When URL part after
sftp://matches one of the stored session names,
> the session is used. This way you may setup default username and/or password
> for particular host by storing them to session with the same name as the host.
That use is retained, but resolving site name in URLs for all other purposes is removed.