Page 1 of 1

host_whitelist() case sensitive?

Posted: April 25th, 2018, 9:18 am
by Sabpp
After upgrading to 2.3.3 I couldn't access SABnzbd from a remote computer. After upgrading the windows computername "Downloader" was pulled into the special setting host_whitelist(). When trying to access the web interface via http://downloader:8080/sabnzbd/ I received message "Access denied - Hostname verification failed: https://sabnzbd.org/hostname-check" in browser and error "Refused connection with hostname "downloader" from: xx.xx.xx.xx" in user interface.

I changed the "Downloader" to "downloader" in special / host_whitelist() and everything works. Is it supposed to be case sensitive?

Re: host_whitelist() case sensitive?

Posted: April 25th, 2018, 10:52 am
by sander
Yes, looks like it: the entries in host_whitelist must be lowercase to function.

Re: host_whitelist() case sensitive?

Posted: April 25th, 2018, 12:06 pm
by safihre
Well.. that sucks. I should have thought of that.