We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 50515c3 commit 420d7c4Copy full SHA for 420d7c4
1 file changed
src/Server.php
@@ -838,6 +838,14 @@ private function parseLinkedMetadata(string $path)
838
$rdfPaths = array_keys($toRdfPhp);
839
$foundPath = $this->findPath($rdfPaths, $path);
840
841
+ // If the requested path is a sub folder or file, it also needs te be handled
842
+ foreach ($rdfPaths as $rdfPath) {
843
+ if (strpos($rdfPath, $path) !== false) {
844
+ $foundPath = $rdfPath;
845
+ break;
846
+ }
847
848
+
849
if (isset($toRdfPhp[$foundPath])) {
850
$filteredRdfData = array_filter($toRdfPhp[$foundPath], static function ($key) {
851
$uris = implode('|', [
0 commit comments