Skip to content

RFC [Routing] rename hostname to host #6775

@Tobion

Description

@Tobion

We currently renamed some route defininion options in #6738:

  • pattern -> path
  • hostname_pattern -> hostname

But IMO hostname is still not perfect because it should be simply host. Reasons:

  1. It's also Request::getHost()
  2. The term hostname has been obsoleted in http://tools.ietf.org/html/rfc3986#appendix-D.2 and uses the host only
  3. hostname in the RFC was defined as the registered domain name, but we probably also want to match IP-Adresses with the pattern which is the host = IP-literal / IPv4address / reg-name for.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions