https://bugzilla.wikimedia.org/show_bug.cgi?id=66088

Ori Livneh <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #4 from Ori Livneh <[email protected]> ---
The relevant code in PHP's ext/standard/basic_functions.c is:

    #ifdef HAVE_IPV6
        if (strchr(address, ':')) {
            af = AF_INET6;
        } else
    #endif
        if (!strchr(address, '.')) {
            php_error_docref(NULL TSRMLS_CC, E_WARNING, "Unrecognized address
%s", address);
            RETURN_FALSE;
        }

        ret = inet_pton(af, address, buffer);

        if (ret <= 0) {
            php_error_docref(NULL TSRMLS_CC, E_WARNING, "Unrecognized address
%s", address);
            RETURN_FALSE;
        }


We might be able to eliminate most (but not all, obviously) of the warnings by
checking for [:.] in PHP.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to