Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[FrameworkBundle] fix IPv6 address handling in server commands #21104

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 1 commit into from
Jan 12, 2017

Conversation

xabbuh
Copy link
Member

@xabbuh xabbuh commented Dec 30, 2016

Q A
Branch? 2.7
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets #21039 (comment)
License MIT
Doc PR

This fixes #21039 (comment) as reported by @sstok for the existing commands by backporting @fabpot's patch from #21039.

@staabm
Copy link
Contributor

staabm commented Dec 30, 2016

Misses test?

@xabbuh
Copy link
Member Author

xabbuh commented Dec 30, 2016

In fact, we do not have any tests for the server commands at all. Not sure we should add some (their implementation might become tricky).

@GromNaN
Copy link
Member

GromNaN commented Dec 30, 2016

The method that parses the <ip>:<port> could be extracted to Symfony\Component\HttpFoundation\IpUtils and unit tested.

@xabbuh xabbuh added this to the 2.7 milestone Dec 31, 2016
@nicolas-grekas
Copy link
Member

Thank you @xabbuh.

@nicolas-grekas nicolas-grekas merged commit 2bb4713 into symfony:2.7 Jan 12, 2017
nicolas-grekas added a commit that referenced this pull request Jan 12, 2017
…ands (xabbuh)

This PR was merged into the 2.7 branch.

Discussion
----------

[FrameworkBundle] fix IPv6 address handling in server commands

| Q             | A
| ------------- | ---
| Branch?       | 2.7
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #21039 (comment)
| License       | MIT
| Doc PR        |

This fixes #21039 (comment) as reported by @sstok for the existing commands by backporting @fabpot's patch from #21039.

Commits
-------

2bb4713 fix IPv6 address handling in server commands
@xabbuh xabbuh deleted the ipv6-server-address branch January 12, 2017 13:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants