Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

RFC [Routing] rename hostname to host #6775

Copy link
Copy link
Closed
@Tobion

Description

@Tobion
Issue body actions

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

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.