NetSUS icon indicating copy to clipboard operation
NetSUS copied to clipboard

SUS settings don't allow setting https Base URL

Open shrugalic opened this issue 6 years ago • 1 comments

Like the title says, the SUS settings at https://<hostname>/webadmin/susSettings.php don't allow entering a base URL that starts with https.

Apparently it's checked by the javascript function validBaseUrl, which only allows two patterns that start with http:\/\/.

May I suggest allowing https?:\/\/ instead?

shrugalic avatar Nov 16 '18 13:11 shrugalic

This seems to work, I changed it in /var/www/html/webadmin/susSettings.php (twice each in validBaseUrl and updateBaseUrl) and restarted Apache with sudo service apache2 restart && service apache2 status

shrugalic avatar Nov 16 '18 14:11 shrugalic