mirror of
https://github.com/github/codeql.git
synced 2025-12-17 09:13:20 +01:00
8 lines
220 B
JavaScript
8 lines
220 B
JavaScript
const express = require('express');
|
|
const libxmljs = require('libxmljs');
|
|
|
|
express().get('/some/path', function(req) {
|
|
// OK - libxml does not expand entities by default
|
|
libxmljs.parseXml(req.param("some-xml"));
|
|
});
|