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

handle IPv4 addresses at the end of IPv6 #2

Open
sas101 opened this issue Feb 8, 2012 · 1 comment
Open

handle IPv4 addresses at the end of IPv6 #2

sas101 opened this issue Feb 8, 2012 · 1 comment
Labels

Comments

@sas101
Copy link
Collaborator

sas101 commented Feb 8, 2012

like ::ffff:127.0.0.1 or ::ffff:192.0.43.10
should become ::ffff:127.0.0.0 or ::ffff:192.0.43.0

sas101 pushed a commit that referenced this issue Feb 8, 2012
@sas101
Copy link
Collaborator Author

sas101 commented Feb 8, 2012

yourls-pseudonymize$ php tests.php
Running tests...
Checking 127.0.0.1 => 127.0.0.0 ? ... OK
Checking 192.0.43.10 => 192.0.43.0 ? ... OK
Checking ::1 => ::0 ? ... OK
Checking ::ffff:127.0.0.1 => ::ffff:127.0.0.0 ? ... FAILED - was ::ffff:0
Checking ::ffff:192.0.43.10 => ::ffff:192.0.43.0 ? ... FAILED - was ::ffff:0
Checking 2001:0db8:85a3:0000:0000:8a2e:0370:7334 => 2001:0db8:85a3:0000:0000:8a2e:0370:0 ? ... OK
Tests failed.

@sas101 sas101 mentioned this issue Feb 8, 2012
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

1 participant