Use HTTP_HOST instead of SERVER_NAME

Created on 10 July 2024, 8 days ago

Problem/Motivation

100% Failure rate on pantheon hosted sites due to use of 'SERVER_NAME' variable when comparing host name for verification.
See https://docs.pantheon.io/server_name-and-server_port

Proposed resolution

Replace all usage of 'SERVER_NAME' with 'HTTP_HOST'.

πŸ› Bug report
Status

Active

Version

2.0

Component

General

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024