Project

General

Profile

Actions

Bug #1968

closed

Delimiting colon, ':', remains when stripping port for SERVER_NAME

Added by presbrey over 12 years ago. Updated over 12 years ago.

Status:
Fixed
Priority:
Normal
Category:
-
Target version:
ASK QUESTIONS IN Forums:

Description

When lighttpd is listening on a non-standard port for a given scheme (80 for http, 443 for https), the colon and port number needs to be stripped from the Host header when creating the SERVER_NAME environment variable.

The current implementation (r2459) chops the port number but leaves the colon at the end of the server name.

An example patch (tested) is attached.


Files

Actions #1

Updated by stbuehler over 12 years ago

  • Target version set to 1.4.23
Actions #2

Updated by stbuehler over 12 years ago

  • Status changed from New to Fixed
  • % Done changed from 0 to 100

Applied in changeset r2492.

Actions

Also available in: Atom