Comment 4 for bug 605284

Revision history for this message
Severin H (severinh) wrote :

I just committed the following changes to the main branch of LottaNZB:

"Add an invisible configuration option 'https' to 'backend.sessions.remote' that makes it possible to enable SSL encryption for the connection to SABnzbd.

When setting up LottaNZB, if the port is changed to 9090, HTTPS is automatically enabled as it's the default HTTPS port. It's unlikely that a user has changed the default HTTP port from 8080 to 9090. If the port is changed from 9090 to something else, HTTPS is automatically disabled."

There are no modifications to the UI whatsoever for the time being, so there's no risk of confusing novice users. What is achieved through this change is that for the small fraction of users who use HTTPS, LottaNZB will silently use HTTPS instead of confronting them with a message like 'HTTP error code 400'. For those who use a non-standard HTTPS port, it's still possible to manually edit the LottaNZB configuration file, which is fairly easy.