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 Host name field allows input longer than 50 characters without any issues.
Environment:
Steps to reproduce:
Observed behavior:
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:
It seems this 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!
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 Host name field allows input longer than 50 characters without any issues.
Environment:
- WinSCP version: 6.5.6
- OS: Windows 11 Pro 24H2
Steps to reproduce:
- 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.
Observed behavior:
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
It seems this 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!