Development #31175
python3 : gérer l'encodage base64 des entêtes d'autorisation HTTP Basic dans les tests
Début:
06 mars 2019
Echéance:
% réalisé:
0%
Temps estimé:
Patch proposed:
Oui
Planning:
Non
Description
En l'état, en python3, il faut décoder en ascii
les crédentiels avant de retourner à l'appelant.
Fichiers
Demandes liées
Révisions associées
Historique
Mis à jour par Paul Marillonnet il y a environ 5 ans
- Fichier 0001-python3-handle-basic-authz-header-encoding-in-tests-.patch 0001-python3-handle-basic-authz-header-encoding-in-tests-.patch ajouté
- Statut changé de Nouveau à Solution proposée
- Patch proposed changé de Non à Oui
Mis à jour par Paul Marillonnet il y a environ 5 ans
- Lié à Development #28276: Fonctionner avec Python3 pour Django1.11 ajouté
Mis à jour par Benjamin Dauvergne il y a environ 5 ans
Pas besoin de six, .decode('ascii')
systématique, ça passe.
Mis à jour par Paul Marillonnet il y a environ 5 ans
- Fichier 0001-python3-handle-basic-authz-header-encoding-in-tests-.patch 0001-python3-handle-basic-authz-header-encoding-in-tests-.patch ajouté
Ok.
Mis à jour par Paul Marillonnet il y a environ 5 ans
- Fichier 0001-python3-handle-basic-authz-header-encoding-in-tests-.patch 0001-python3-handle-basic-authz-header-encoding-in-tests-.patch ajouté
Sans le saut de ligne en trop...
Mis à jour par Benjamin Dauvergne il y a environ 5 ans
- Statut changé de Solution proposée à Solution validée
Ack en attendant le build
Mis à jour par Paul Marillonnet il y a environ 5 ans
- Fichier 0001-python3-handle-basic-authz-header-encoding-in-tests-.patch 0001-python3-handle-basic-authz-header-encoding-in-tests-.patch ajouté
- Statut changé de Solution validée à Solution proposée
Bizarre :
py27-coverage-dj18-authentic-pg-oldldap: commands succeeded ERROR: py27-coverage-dj18-authentic-pg-: commands failed py27-coverage-dj18-authentic-sqlite-oldldap: commands succeeded ERROR: py27-coverage-dj18-authentic-sqlite-: commands failed py27-coverage-dj111-authentic-pg-oldldap: commands succeeded ERROR: py27-coverage-dj111-authentic-pg-: commands failed py27-coverage-dj111-authentic-sqlite-oldldap: commands succeeded ERROR: py27-coverage-dj111-authentic-sqlite-: commands failed
Sorte d'effet de bord sur la version de python-ldap.
Je tente avec ce patch, qui je crois corrige l'erreur d'encodage visible dans le précédent build en échec1.
Mis à jour par Paul Marillonnet il y a environ 5 ans
- Fichier 0001-python3-basic-authz-header-encoding-in-tests-31175.patch 0001-python3-basic-authz-header-encoding-in-tests-31175.patch ajouté
Je préfère comme ça.
Mis à jour par Paul Marillonnet il y a plus de 4 ans
- Fichier 0001-python3-basic-authz-header-encoding-in-tests-31175.patch 0001-python3-basic-authz-header-encoding-in-tests-31175.patch ajouté
Toujours d'actualité.
Mis à jour par Benjamin Dauvergne il y a plus de 4 ans
- Statut changé de Solution proposée à Solution validée
Mis à jour par Paul Marillonnet il y a plus de 4 ans
- Statut changé de Solution validée à Résolu (à déployer)
commit 20a9676ef2311c05ec1bcc29940477d2bd77ba3f Author: Paul Marillonnet <pmarillonnet@entrouvert.com> Date: Wed Apr 10 15:47:34 2019 +0200 python3: basic authz header encoding in tests (#31175)
Mis à jour par Frédéric Péters il y a plus de 4 ans
- Statut changé de Résolu (à déployer) à Solution déployée
python3: basic authz header encoding in tests (#31175)