Secured actions are rarely directly generated by calling the securiser_action()
function, but more frequently by calling a function which itself then calls the security function.
The ecrire/inc/actions.php file contains a large number of these functions.
generer_action_auteur()
In particular, the generer_action_auteur()
function directly calls the securiser_action
function, passing a secured URL by default.
redirige_action_auteur()
This function takes two parameters instead of the 3rd redirection argument: the name of an exec file, and the arguments to be passed. SPIP then creates the redirection URL automatically.
redirige_action_post()
Same as the previous function except that it generates a POST form by default.