jamf / NetSUS

NetBoot and Software Update Server
https://jamfnation.jamfsoftware.com/viewProduct.html?id=180
304 stars 68 forks source link

SUS settings don't allow setting https Base URL #119

Open shrugalic opened 6 years ago

shrugalic commented 6 years ago

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 commented 6 years ago

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