• Show log

    Commit

  • Hash : a78843be
    Author : Nick Wellnhofer
    Date : 2025-01-28T20:13:58

    xmllint: Support compressed input from stdin
    
    Another regression related to reading from stdin.
    
    Making a "-" filename read from stdin was deeply baked into the core
    IO code but is inherently insecure. I really want to reenable this
    dangerous feature as sparingly as possible.
    
    This now enables compressed input when using the "Fd" API functions
    which wan't supported before. But XML_PARSE_NO_UNZIP will be
    inverted later.
    
    Allow compressed stdin in xmlReadFile to support xmlstarlet and older
    versions of xsltproc. So far, these are the only known command-line
    tools that rely on "-" meaning stdin.