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

For login allow list add support for IPv6 #18045

Closed
wants to merge 8 commits into from
Closed

For login allow list add support for IPv6 #18045

wants to merge 8 commits into from

Conversation

tsteur
Copy link
Member

@tsteur tsteur commented Sep 22, 2021

Description:

Not sure why we didn't add this directly.

Review

@@ -166,8 +166,15 @@
$ipsResolved[] = $ip;
} else {
$ipFromHost = @gethostbyname($ip);
if (!empty($ipFromHost)) {
if (!empty($ipFromHost)
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the extra filter var check is needed as ipFromHost will be the hostname if it couldn't resolve it.

image

@tsteur tsteur closed this Sep 22, 2021
@tsteur tsteur deleted the ipv6 branch September 22, 2021 04:01
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.

None yet

2 participants