Currently module only checks the view-mode to redirect the user, but it should also check the path to be sure the user actually tries to open the node path (check the module name).
If I try to render the node programmatically with node_view($node, 'full') the module will redirect.
Check the patch in attachment.

CommentFileSizeAuthor
denynodenidpath.module.patch494 bytesWuron

Comments

maartendeblock’s picture

Status: Active » Fixed

Thank you.

This will be changed in the next version.

maartendeblock’s picture

Status: Fixed » Closed (fixed)