nginx/nginx · error

NGX_LOG_WARN

NGX_LOG_WARN

Error message

xslt filter external entity ignored: \"%s\" \"%s\" \"%s\"

What it means

Error "xslt filter external entity ignored: \"%s\" \"%s\" \"%s\"" thrown in nginx/nginx.

Source

Thrown at src/http/modules/ngx_http_xslt_filter_module.c:515

    ngx_log_debug3(NGX_LOG_DEBUG_HTTP, r->connection->log, 0,
                   "xslt filter entityDecl: \"%s\" \"%s\" \"%s\"",
                   name ? name : (xmlChar *) "",
                   publicId ? publicId : (xmlChar *) "",
                   systemId ? systemId : (xmlChar *) "");

    conf = ngx_http_get_module_loc_conf(r, ngx_http_xslt_filter_module);

    if (systemId && !conf->external_entities) {

        /*
         * If external entiries in the internal DTD subset are disabled,
         * we remove system identifiers from such entities.  This makes sure
         * that external entities cannot be used to directly request arbitrary
         * files, but still can be used with public identifiers, assuming these
         * are included into XML catalogs on the system.
         */

        ngx_log_error(NGX_LOG_WARN, r->connection->log, 0,
                      "xslt filter external entity ignored: "
                      "\"%s\" \"%s\" \"%s\"",
                      name ? name : (xmlChar *) "",
                      publicId ? publicId : (xmlChar *) "",
                      systemId ? systemId : (xmlChar *) "");

        if (publicId) {
            xmlSAX2EntityDecl(data, name, type, publicId, (xmlChar *) "",
                              content);

        } else if (type == XML_EXTERNAL_GENERAL_PARSED_ENTITY) {
            xmlSAX2EntityDecl(data, name, XML_INTERNAL_GENERAL_ENTITY,
                              NULL, NULL, (xmlChar *) "");

        } else if (type == XML_EXTERNAL_PARAMETER_ENTITY) {
            xmlSAX2EntityDecl(data, name, XML_INTERNAL_PARAMETER_ENTITY,
                              NULL, NULL, (xmlChar *) "");
        }

View on GitHub (pinned to 3f6f7824d4)

When it happens

Trigger: Thrown at src/http/modules/ngx_http_xslt_filter_module.c:515 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of nginx/nginx@3f6f7824d4 (2026-08-22). Data as JSON: /api/errors/d1eb8418e0f268bd. Report an issue: GitHub.