•  
      request #11578 HTMLPurifier gives warning when parsing a link with a domain interpreted as an IDN
    Infos
    #11578
    Thomas Gerbet (tgerbet)
    2018-06-22 18:07
    2018-06-07 09:44
    11918
    Details
    HTMLPurifier gives warning when parsing a link with a domain interpreted as an IDN
    This a due to the recent upgrade to HTMLPurifier 4.10.0 [0] (request #11527) and to the PHP packages provided by the SCL.

    Trace:
    [07-Jun-2018 07:43:37] WARNING: [pool tuleap] child 168 said into stderr: "NOTICE: PHP message: PHP Stack trace:"
    [07-Jun-2018 07:43:37] WARNING: [pool tuleap] child 168 said into stderr: "NOTICE: PHP message: PHP 1. {main}() /usr/share/tuleap/src/www/empty.php:0"
    [07-Jun-2018 07:43:37] WARNING: [pool tuleap] child 168 said into stderr: "NOTICE: PHP message: PHP 2. Codendi_HTMLPurifier->purify($html = *uninitialized*, $level = *uninitialized*, $groupId = *uninitialized*) /usr/share/tuleap/src/www/empty.php:6"
    [07-Jun-2018 07:43:37] WARNING: [pool tuleap] child 168 said into stderr: "NOTICE: PHP message: PHP 3. Codendi_HTMLPurifier->purify($html = *uninitialized*, $level = *uninitialized*, $groupId = *uninitialized*) /usr/share/tuleap/src/common/include/Codendi_HTMLPurifier.class.php:251"
    [07-Jun-2018 07:43:37] WARNING: [pool tuleap] child 168 said into stderr: "NOTICE: PHP message: PHP 4. HTMLPurifier->purify($html = *uninitialized*, $config = *uninitialized*) /usr/share/tuleap/src/common/include/Codendi_HTMLPurifier.class.php:245"
    [07-Jun-2018 07:43:37] WARNING: [pool tuleap] child 168 said into stderr: "NOTICE: PHP message: PHP 5. HTMLPurifier_Strategy_Composite->execute($tokens = *uninitialized*, $config = *uninitialized*, $context = *uninitialized*) /usr/share/tuleap/src/vendor/ezyang/htmlpurifier/library/HTMLPurifier.php:219"
    [07-Jun-2018 07:43:37] WARNING: [pool tuleap] child 168 said into stderr: "NOTICE: PHP message: PHP 6. HTMLPurifier_Strategy_ValidateAttributes->execute($tokens = *uninitialized*, $config = *uninitialized*, $context = *uninitialized*) /usr/share/tuleap/src/vendor/ezyang/htmlpurifier/library/HTMLPurifier/Strategy/Composite.php:24"
    [07-Jun-2018 07:43:37] WARNING: [pool tuleap] child 168 said into stderr: "NOTICE: PHP message: PHP 7. HTMLPurifier_AttrValidator->validateToken($token = *uninitialized*, $config = *uninitialized*, $context = *uninitialized*) /usr/share/tuleap/src/vendor/ezyang/htmlpurifier/library/HTMLPurifier/Strategy/ValidateAttributes.php:38"
    [07-Jun-2018 07:43:37] WARNING: [pool tuleap] child 168 said into stderr: "NOTICE: PHP message: PHP 8. HTMLPurifier_AttrDef_URI->validate($uri = *uninitialized*, $config = *uninitialized*, $context = *uninitialized*) /usr/share/tuleap/src/vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrValidator.php:99"
    [07-Jun-2018 07:43:37] WARNING: [pool tuleap] child 168 said into stderr: "NOTICE: PHP message: PHP 9. HTMLPurifier_URI->validate($config = *uninitialized*, $context = *uninitialized*) /usr/share/tuleap/src/vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrDef/URI.php:66"
    [07-Jun-2018 07:43:37] WARNING: [pool tuleap] child 168 said into stderr: "NOTICE: PHP message: PHP 10. HTMLPurifier_AttrDef_URI_Host->validate($string = *uninitialized*, $config = *uninitialized*, $context = *uninitialized*) /usr/share/tuleap/src/vendor/ezyang/htmlpurifier/library/HTMLPurifier/URI.php:118"
    [07-Jun-2018 07:43:37] WARNING: [pool tuleap] child 168 said into stderr: "NOTICE: PHP message: PHP 11. idn_to_ascii(*uninitialized*, *uninitialized*, *uninitialized*) /usr/share/tuleap/src/vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrDef/URI/Host.php:100"



    [0] https://github.com/ezyang/htmlpurifier/issues/168
    Other
    development
    Empty
    • [ ] enhancement
    • [ ] internal improvement
    Empty
    Stage
    Empty
    Closed
    2018-06-22
    Attachments
    Empty
    References

    Follow-ups

    User avatar
    Integrated into Tuleap 10.2.99.17

    • Status changed from Under review to Closed
    • Connected artifacts
    • Close date set to 2018-06-22