Skip to content

Commit 04d9405

Browse files
committed
Modified ALLOWED_HOSTS to permit some (surprising) alternative HTTP_HOST names. Are these a result of queries proxied through other ietf.org domains? The numerical address is the mail server address. We should find out why that appears, and see if it can be made to appear as mail.ietf.org instead.
- Legacy-Id: 7197
1 parent a184a36 commit 04d9405

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

ietf/settings.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
('Ryan Cross', 'rcross@amsl.com'),
3535
)
3636

37-
ALLOWED_HOSTS = ["datatracker.ietf.org"]
37+
ALLOWED_HOSTS = [".ietf.org", "4.31.198.44", ]
3838

3939
# Server name of the tools server
4040
TOOLS_SERVER = 'tools.' + IETF_DOMAIN
@@ -107,6 +107,7 @@
107107

108108
SESSION_COOKIE_AGE = 43200 # 12 hours
109109
SESSION_EXPIRE_AT_BROWSER_CLOSE = True
110+
SESSION_SERIALIZER = 'django.contrib.sessions.serializers.PickleSerializer'
110111

111112
TEMPLATE_LOADERS = (
112113
'django.template.loaders.filesystem.Loader',

0 commit comments

Comments
 (0)