Skip to content
This repository has been archived by the owner on Jan 8, 2020. It is now read-only.

[Validator] Add support for IPvFuture and literal format #1590

Merged
merged 4 commits into from
Jun 27, 2012
Merged

[Validator] Add support for IPvFuture and literal format #1590

merged 4 commits into from
Jun 27, 2012

Conversation

Maks3w
Copy link
Member

@Maks3w Maks3w commented Jun 25, 2012

Add support to IPvFuture as described in RFC 3986
Add support for IPs in literal format

@Maks3w
Copy link
Member Author

Maks3w commented Jun 25, 2012

This PR depends of #1586

* Fix PHPDoc
* Fix CS (remove underscore)
Add support to IPvFuture as described in RFC 3986
Add support for IPs in literal format
@Maks3w
Copy link
Member Author

Maks3w commented Jun 26, 2012

After a little searching I found that there is no common model for IP literal format. Currently there are at least two formats.

The first format is the URI style (surrounded by square brackets []) and the second format is the Microsoft's UNC style (as a DNS and the domain IPv6 literal.net at the end)

So I think maybe this IP format should not be validated by this validator.

I hope your comments.

weierophinney added a commit that referenced this pull request Jun 27, 2012
@weierophinney weierophinney merged commit e683347 into zendframework:master Jun 27, 2012
weierophinney added a commit to zendframework/zend-validator that referenced this pull request May 15, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants