History log of /plugin/include/_test/safeindex.test.php (Results 1 – 3 of 3)
Revision Date Author Comments
# 69781840 05-Jul-2021 Anna Dabrowska <dabrowska@cosmocode.de>

Update tests so they pass on master branch

Note: Tests will fail on PHP 5.6


# c76c7b12 21-Aug-2015 Andreas Gohr <andi@splitbrain.org>

added correct group declarations to tests


# b5295d80 23-Nov-2012 Michael Hamann <michael@content-space.de>

Add "safeindex" feature, prevents indexing of protected included metadata

The safeindex feature that is turned on by default prevents the indexer
from indexing metadata from included pages that are

Add "safeindex" feature, prevents indexing of protected included metadata

The safeindex feature that is turned on by default prevents the indexer
from indexing metadata from included pages that are non-public. This
means that for example only links from included pages that are public
will be indexed.

This affects plugins that add their own metadata to the index in the
following ways:

* there is no effect when all included pages are public or when no user
is logged in when the page is indexed
* when the plugin's event handler is called after the include plugin,
the plugin will get only metadata from included pages that are public
* when the plugin's event handler is called before the include plugin
the include plugin will delete the plugin's metadata. I'm happy to add
special handlers or exceptions for plugins like the tag plugin
(already included) that are affected by this problem.

The safeindex feature can be turned off when the ACL rules of all parent
pages match the child pages or when information disclosure through
metadata like backlinks is no problem.

show more ...