Aleksander Machniak
2015-08-12 6b31846c438dc19cca0f2a01582bdf47dff61f81
Fix IPv6 address validation on PHP with disabled IPv6 support
1 files modified
2 ■■■ changed files
program/lib/Roundcube/rcube_utils.php 2 ●●● patch | view | raw | blame | history
program/lib/Roundcube/rcube_utils.php
@@ -156,7 +156,7 @@
                $length = strlen($part);
                if (!$length) {
                    // there can be only one ::
                    if ($found_empty) {
                    if ($found_empty && $idx > 2) {
                        return false;
                    }
                    $found_empty = true;