Development #47918
autoriser /idp/oidc/token sans / final (?)
Début:
21 octobre 2020
Echéance:
% réalisé:
0%
Temps estimé:
Patch proposed:
Oui
Planning:
Non
Description
C'est une erreur courante de gens qui n'arrivent pas à copier/coller et ça donne
Internal Server Error: /idp/oidc/token RuntimeError at /idp/oidc/token You called this URL via POST, but the URL doesn't end in a slash and you have APPEND_SLASH set. Django can't redirect to the slash URL while maintaining POST data. Change your form to point to .../idp/oidc/token/ (note the trailing slash), or set APPEND_SLASH=False in your Django settings.
on pourrait imaginer accepter l'absence de / final ? (en modifiant l'urls.py)
Fichiers
Révisions associées
Historique
Mis à jour par Benjamin Dauvergne il y a plus de 3 ans
- Fichier 0001-idp_oidc-make-ending-slash-optional-47918.patch 0001-idp_oidc-make-ending-slash-optional-47918.patch ajouté
- Statut changé de Nouveau à Solution proposée
- Patch proposed changé de Non à Oui
Mis à jour par Lauréline Guérin il y a plus de 3 ans
- Statut changé de Solution proposée à Solution validée
Mis à jour par Benjamin Dauvergne il y a plus de 3 ans
- Statut changé de Solution validée à Résolu (à déployer)
commit 976dec4225733477a66f604d27d38a1719987723 Author: Benjamin Dauvergne <bdauvergne@entrouvert.com> Date: Fri Oct 23 17:05:14 2020 +0200 idp_oidc: make ending slash optional (#47918)
Mis à jour par Frédéric Péters il y a plus de 3 ans
- Statut changé de Résolu (à déployer) à Solution déployée
idp_oidc: make ending slash optional (#47918)