Cannot enter more than 50 characters in Proxy hostname on Preferences Update page
Hi,
I would like to report an issue (or request a change) regarding the Proxy hostname length limit in the Preferences dialog.
In contrast, the Login dialog's Hostname field allows input longer than 50 characters without any issues.
Environment:
Input is restricted to 50 characters maximum. When attempting to type the 51st character, a system beep sounds and no further characters are accepted.
Source code reference:
In
It seems this
Since hostnames (such as FQDNs in cloud environments) can easily exceed 50 characters, could you please consider extending or removing this limit to match the regular session host name field?
Thank you!
I would like to report an issue (or request a change) regarding the Proxy hostname length limit in the Preferences dialog.
In contrast, the Login dialog's Hostname field allows input longer than 50 characters without any issues.
Environment:
- WinSCP version: 6.5.6
- OS: Windows 11 Pro 24H2
- Open the Preferences dialog (Options > Preferences)
- Select Updates in the left panel.
- Under the Connection section, select the Use proxy server radio button.
- Try to enter a hostname with more than 50 characters into the Proxy hostname field.
Input is restricted to 50 characters maximum. When attempting to type the 51st character, a system beep sounds and no further characters are accepted.
Source code reference:
In
source/forms/Preferences.dfm (around line 2290), the UpdatesProxyHostEdit component has MaxLength set to 50:
object UpdatesProxyHostEdit: TEdit ... MaxLength = 50 ... end
MaxLength = 50 setting is enforcing the 50-character limit on this field.
Since hostnames (such as FQDNs in cloud environments) can easily exceed 50 characters, could you please consider extending or removing this limit to match the regular session host name field?
Thank you!