diff options
| author | jvoisin | 2021-04-28 09:34:42 +0200 |
|---|---|---|
| committer | jvoisin | 2021-04-28 10:55:53 +0200 |
| commit | fb3571de3d9dd0df9bfb38579b56dbb9746df551 (patch) | |
| tree | e4ef03c633fc00cc4cbdec93255f0318c220d49d /src/tests | |
| parent | 99cab6d750e2d8e2f6dfc412394ce49ae7534bd6 (diff) | |
Add some logging for the XXE mitigation
Diffstat (limited to 'src/tests')
| -rw-r--r-- | src/tests/xxe/disable_xxe_dom_disabled.phpt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/tests/xxe/disable_xxe_dom_disabled.phpt b/src/tests/xxe/disable_xxe_dom_disabled.phpt index 493f5a3..a49e094 100644 --- a/src/tests/xxe/disable_xxe_dom_disabled.phpt +++ b/src/tests/xxe/disable_xxe_dom_disabled.phpt | |||
| @@ -44,8 +44,13 @@ printf("without xxe: %s", $dom->getElementsByTagName('testing')->item(0)->nodeVa | |||
| 44 | 44 | ||
| 45 | ?> | 45 | ?> |
| 46 | --EXPECTF-- | 46 | --EXPECTF-- |
| 47 | Warning: [snuffleupagus][0.0.0.0][xxe][log] A call to libxml_disable_entity_loader was tried and nopped in %s/tests/xxe/disable_xxe_dom_disabled.php on line %d | ||
| 47 | libxml_disable_entity to true: WARNING, external entity loaded! | 48 | libxml_disable_entity to true: WARNING, external entity loaded! |
| 49 | |||
| 50 | Warning: [snuffleupagus][0.0.0.0][xxe][log] A call to libxml_disable_entity_loader was tried and nopped in %s/tests/xxe/disable_xxe_dom_disabled.php on line %d | ||
| 48 | libxml_disable_entity to false: WARNING, external entity loaded! | 51 | libxml_disable_entity to false: WARNING, external entity loaded! |
| 52 | |||
| 53 | Warning: [snuffleupagus][0.0.0.0][xxe][log] A call to libxml_disable_entity_loader was tried and nopped in %s/tests/xxe/disable_xxe_dom_disabled.php on line %d | ||
| 49 | without xxe: foo | 54 | without xxe: foo |
| 50 | --CLEAN-- | 55 | --CLEAN-- |
| 51 | <?php | 56 | <?php |
