Closed (works as designed)
Project:
Masquerade
Version:
6.x-1.4
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
25 Jun 2010 at 12:11 UTC
Updated:
25 Jun 2010 at 14:48 UTC
Before 6.x-1.4 it was possible to easily construct masquerade links. The security fix broke the existing links.
That's fine by me (should have been mentioned in release notes), but how am I now supposed to construct masquerade links outside of menus, given that the token-inserting functionality is tied to menu_link_alter hooks? I suppose I can replicate the implementation in my code, but it would be nicer if some sort of API was provided that the module's user could rely on to create a secure masquerade/switch-back link.
Comments
Comment #1
deekayen commentedThe old way is what the security team identified as the security problem. Not sure there's anything to do about it.
Comment #2
deviantintegral commentedI'm not totally against having a wrapper function to generate the link. However, I would think that there are menu API calls you could make to do it properly.