Skip to content
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

IPv6 addresses rejected #1

Open
kav2k opened this issue Mar 27, 2013 · 3 comments
Open

IPv6 addresses rejected #1

kav2k opened this issue Mar 27, 2013 · 3 comments
Assignees
Labels

Comments

@kav2k
Copy link

kav2k commented Mar 27, 2013

Current verification script does not understand IPv6 literal URL notation.

Example: http://[2a01:4f8:160:7ffc::5]/ is rejected as non-address.

See RFC 2732

@ghost ghost assigned ob-ivan Mar 27, 2013
@ob-ivan
Copy link
Owner

ob-ivan commented Sep 20, 2013

BTW it would reject IPv4 addresses as well.

As I investigate on the issue, the more and more elaborate functionality seems to be required. I wonder if there is an open-source library I could use without having to implement it all by myself with a complex perplexion of http://php.net/filter extension, http://php.net/parse_url calls and further http://php.net/PCRE matching and data extraction.

@ob-ivan
Copy link
Owner

ob-ivan commented Sep 20, 2013

I forked ob-ivan/PhpUrlScanner as it seems to provide quite a bit of functionality I need. However it calls for a lot of refinement, especially on what concerns namespacing and other PSR considerations before it can be made use of.

@ob-ivan
Copy link
Owner

ob-ivan commented Sep 20, 2013

Opened nicodmf/PhpUrlScanner#1
I hope to make use of its URL class.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants