8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 19f931d commit e05d3fcCopy full SHA for e05d3fc
www/wildcard/GET.php
@@ -170,7 +170,11 @@
170
$item_ext = strrchr($item, '.');
171
if ($item_ext == '.sqlite' || ($item_ext && in_array(substr($item_ext, 1), $_RAW_EXT))) continue;
172
$item_uri = REQUEST_BASE.substr($item, strlen($_filebase));
173
- $g->append_file('turtle', "file://$item", $item_uri);
+
174
+ // WebACL
175
+ $wac = new WAC($_user, $item, $item_uri);
176
+ if ($wac->can('Read'))
177
+ $g->append_file('turtle', "file://$item", $item_uri);
178
}
179
} elseif (!empty($_filename) && !$g->exists() && !$g->size())
180
if (!$_options->wiki)
0 commit comments