Issue activity log

2018-05-17 16:55 Created Do not match URL after stripping protocol against stored site name in scripting/automation
Component Scripting
Severity Enhancement
Comment It's a useless feature and a source of common problems.

For example:
https://winscp.net/forum/viewtopic.php?t=26078

The function was added in 3.6:
> When URL part after scp:// or 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.
Status RESOLVED
Resolution FIXED
Comment Implemented.
2018-05-18 08:38 Implemented in 5.14
Comment Commit:
Commit 29a50524
2019-03-01 10:51 Comment https://winscp.net/forum/viewtopic.php?t=27398
2020-06-19 10:31 Comment https://winscp.net/forum/viewtopic.php?t=29512
2022-10-07 07:59 Comment It's a useless feature and a source of common problems.·  ·  For example:·  https://winscp.net/forum/viewtopic.php?t=26078·  ·  The function was added in WinSCP 3.6:·  > When URL part after ''%%scp://%%'' or ''%%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.
2022-10-07 08:04 Comment It's a useless feature and a source of common problems.     For example:   https://winscp.net/forum/viewtopic.php?t=26078   ----   The function was added in WinSCP 3.6:   > When URL part after ''%%scp://%%'' or ''%%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.