Skip to content

Commit 2bb4252

Browse files
committed
Re-enable Host header check after 5.6
1 parent 2dd46b1 commit 2bb4252

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

notebook/notebookapp.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -852,10 +852,6 @@ def _token_changed(self, change):
852852
@default('allow_remote_access')
853853
def _default_allow_remote(self):
854854
"""Disallow remote access if we're listening only on loopback addresses"""
855-
# Disable the check temporarily because of Mac issues:
856-
# https://github.com/jupyter/notebook/issues/3754
857-
return True
858-
859855
try:
860856
addr = ipaddress.ip_address(self.ip)
861857
except ValueError:

0 commit comments

Comments
 (0)