Skip to content

Commit 723d041

Browse files
authored
fix(metadata): xml PHPize HTTP cache headers (#7140)
1 parent d3d0ca2 commit 723d041

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Metadata/Extractor/XmlResourceExtractor.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ private function buildCacheHeaders(\SimpleXMLElement $resource): ?array
301301
continue;
302302
}
303303

304-
$data[(string) $cacheHeader['name']] = (string) $cacheHeader;
304+
$data[(string) $cacheHeader['name']] = XmlUtils::phpize((string) $cacheHeader);
305305
}
306306

307307
return $data;

0 commit comments

Comments
 (0)