From 2bb4252f2187ae07e5ba7733774f23132bb1e280 Mon Sep 17 00:00:00 2001 From: Thomas Kluyver Date: Sat, 14 Jul 2018 14:06:20 +0200 Subject: [PATCH] Re-enable Host header check after 5.6 --- notebook/notebookapp.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/notebook/notebookapp.py b/notebook/notebookapp.py index 20edc14d2..7500fcc26 100755 --- a/notebook/notebookapp.py +++ b/notebook/notebookapp.py @@ -852,10 +852,6 @@ class NotebookApp(JupyterApp): @default('allow_remote_access') def _default_allow_remote(self): """Disallow remote access if we're listening only on loopback addresses""" - # Disable the check temporarily because of Mac issues: - # https://github.com/jupyter/notebook/issues/3754 - return True - try: addr = ipaddress.ip_address(self.ip) except ValueError: