host_whitelist() case sensitive?

Report & discuss bugs found in SABnzbd
Forum rules
Help us help you:
  • Are you using the latest stable version of SABnzbd? Downloads page.
  • Tell us what system you run SABnzbd on.
  • Adhere to the forum rules.
  • Do you experience problems during downloading?
    Check your connection in Status and Interface settings window.
    Use Test Server in Config > Servers.
    We will probably ask you to do a test using only basic settings.
  • Do you experience problems during repair or unpacking?
    Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
Post Reply
Sabpp
Newbie
Newbie
Posts: 8
Joined: October 27th, 2016, 7:24 am

host_whitelist() case sensitive?

Post 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?
User avatar
sander
Release Testers
Release Testers
Posts: 8811
Joined: January 22nd, 2008, 2:22 pm

Re: host_whitelist() case sensitive?

Post by sander »

Yes, looks like it: the entries in host_whitelist must be lowercase to function.
User avatar
safihre
Administrator
Administrator
Posts: 5338
Joined: April 30th, 2015, 7:35 am
Contact:

Re: host_whitelist() case sensitive?

Post by safihre »

Well.. that sucks. I should have thought of that.
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
Post Reply