I have a use case where I have multiple forms, each of which I automatically generate a random path alias to send to a submitter to fill out. Using this module, I password protect the page just to make sure that only the person I'm sending to can fill it out (since I don't want to make accounts for each submitter). But on testing, I see that when visiting the aliased path, it redirects to a protected-node path that gives out the node id: protected-node?destination=node/12&protected_page=12

It properly redirects to the aliased path with the right password, but I don't want the node id so readily discoverable from URL. Please make it so the node id does not show up.

Comments

joshuasosa’s picture

Issue summary: View changes
DamienMcKenna’s picture

Title: Hide Node ID » Change destination to the path alias

So you're suggesting that the path alias be used instead of the system path?

Grimreaper’s picture

@Prizem : Did the fork feature work for you. Because I encounter a lot of bug with it. See https://www.drupal.org/node/2447913

drupalove’s picture

What about sites that don't use aliases?

Grimreaper’s picture

Status: Active » Closed (works as designed)

Hello,

In https://www.drupal.org/project/entity_access_password (D9 port), as there is no more redirection this feature request is no more needed.

Closing as there is no activity in this issue and D7 is EOL in november.