Commit 7ad90aef authored by gbyte.co's avatar gbyte.co

Issue #2773163 by i1group: Unrouted URIs do not have internal representations

parent 66825fb5
...@@ -172,6 +172,10 @@ class Batch { ...@@ -172,6 +172,10 @@ class Batch {
$url_object = $entity->toUrl(); $url_object = $entity->toUrl();
} }
// Do not index if this is an external path.
if (!$url_object->isRouted())
continue;
// Do not include path if anonymous users do not have access to it. // Do not include path if anonymous users do not have access to it.
if (!$url_object->access($anon_user)) if (!$url_object->access($anon_user))
continue; continue;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment