You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$this->encoder->decode('<?xml version="1.0"?><!DOCTYPE scan[<!ENTITY test SYSTEM "php://filter/read=convert.base64-encode/resource=XmlEncoderTest.php">]><scan>&test;</scan>', 'xml');
445
-
chdir($oldCwd);
446
-
447
-
$this->fail('No exception was thrown.');
448
-
} catch (\Exception$e) {
449
-
chdir($oldCwd);
450
-
451
-
if (!$einstanceof UnexpectedValueException) {
452
-
$this->fail('Expected UnexpectedValueException');
453
-
}
454
-
}
442
+
$this->encoder->decode('<?xml version="1.0"?><!DOCTYPE scan[<!ENTITY test SYSTEM "php://filter/read=convert.base64-encode/resource=XmlEncoderTest.php">]><scan>&test;</scan>', 'xml');
0 commit comments