Uploaded image for project: 'phpBB'
  1. phpBB
  2. PHPBB-17740

Require non-empty server_name in ACP and installer

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • 4.0.0-b1, 3.3.20-RC1
    • None
    • None
    • None

      server_name is only validated as string in the ACP server settings and the installer, so it can be saved empty. If both server_name and cookie_domain are empty, session::extract_current_hostname() falls back to the request Host header. Generated URLs, including those in emails, then depend on a client-supplied value.

      Make server_name a required, non-empty setting in acp_board (server settings) and in the installer’s server data step.

            Marc Marc
            Marc Marc
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: