8000 Hostname rename to host by fabpot · Pull Request #6825 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

Hostname rename to host #6825

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jan 21, 2013
Merged

Hostname rename to host #6825

merged 3 commits into from
Jan 21, 2013

Conversation

fabpot
Copy link
Member
@fabpot fabpot commented Jan 21, 2013
Q A
Bug fix? no
New feature? no
BC breaks? no (does not exist in 2.1)
Deprecations? no
Tests pass? yes
Fixed tickets #6775
License MIT
Doc PR symfony/symfony-docs#2165

see #6775

As explained in symfony#6775, this has been done for the following 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.
@wouterj
Copy link
Member
wouterj commented Jan 21, 2013

+1

fabpot added a commit that referenced this pull request Jan 21, 2013
This PR was merged into the master branch.

Commits
-------

94f6116 renamed hostname to host in the routing system (closes #6775)
001734a [Validator] fixed phpdoc
18b9e68 [HttpFoundation] renamed hostname to host in the test to be consistent

Discussion
----------

Hostname rename to host

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no (does not exist in 2.1)
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #6775
| License       | MIT
| Doc PR        | symfony/symfony-docs#2165

see #6775

---------------------------------------------------------------------------

by WouterJ at 2013-01-21T18:44:20Z

+1
@fabpot fabpot merged commit 94f6116 into symfony:master Jan 21, 2013
ElectricMaxxx pushed a commit to mono-symfony-cmf/routing that referenced this pull request Mar 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0