Skip to content

Commit 193f143

Browse files
committed
Debug
1 parent bddf495 commit 193f143

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/XML/DOMDocumentFactoryTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,13 +55,13 @@ protected function tearDown(): void
5555
* Classic external-entity payload aimed at a file we control.
5656
* The factory must reject the document; the marker must never appear.
5757
*/
58+
//<?xml version="1.0" encoding="UTF-8"?>
5859
public function testExternalEntityCannotReadLocalFileUsingDefaultOptions(): void
5960
{
6061
// file:// URI pointing at our temporary secret
6162
$uri = 'file:///' . str_replace(DIRECTORY_SEPARATOR, '/', $this->secretFile);
6263

6364
$payload = <<<XML
64-
<?xml version="1.0" encoding="UTF-8"?>
6565
<!DOCTYPE foo [
6666
<!ELEMENT foo ANY>
6767
<!ENTITY xxe SYSTEM "{$uri}">
@@ -85,13 +85,13 @@ public function testExternalEntityCannotReadLocalFileUsingDefaultOptions(): void
8585
* Classic external-entity payload aimed at a file we control.
8686
* The factory must reject the document; the marker must never appear.
8787
*/
88+
//<?xml version="1.0" encoding="UTF-8"?>
8889
public function testExternalEntityCannotReadLocalFileUsingNonDefaultOptions(): void
8990
{
9091
// file:// URI pointing at our temporary secret
9192
$uri = 'file://' . $this->secretFile;
9293

9394
$payload = <<<XML
94-
<?xml version="1.0" encoding="UTF-8"?>
9595
<!DOCTYPE foo [
9696
<!ELEMENT foo ANY>
9797
<!ENTITY xxe SYSTEM "{$uri}">

0 commit comments

Comments
 (0)