Projet

Général

Profil

Development #6294

Mis à jour par Benjamin Dauvergne il y a plus de 9 ans

There is a lot of replicated code in authentic2 to manipulate URLs, add or remove parameters, redirect to the login URL or another and keeping the current URL in the @next@ parameter or for handling the login processing (record an authentication event, set the Django user in the session return to the next URL or @settings.LOGIN_REDIRECT_URL@). All this code can be factorized to shorten and simplify code and also to prevent errors.

Current version of this serie of patches is on http://perso.entrouvert.org/~bdauvergne/git/cgit.cgi/authentic2.git/log/?h=wip/redirect-helper @http://perso.entrouvert.org/~bdauvergne/git/cgit.cgi/authentic2.git/log/?h=wip/redirect-helper@ starting with the commit "Add new utilities to help building URLs with parameters".

Retour