Bug #45269
TypeError: cannot use a string pattern on a bytes-like object
Statut:
Fermé
Priorité:
Normal
Assigné à:
-
Version cible:
-
Début:
20 juillet 2020
Echéance:
% réalisé:
0%
Temps estimé:
Patch proposed:
Oui
Planning:
Non
Description
https://sentry.entrouvert.org/entrouvert/publik/issues/3482/
TypeError: cannot use a string pattern on a bytes-like object (13 additional frame(s) were not displayed) ... File "wcs/qommon/ident/idp.py", line 218, in _q_traverse return Directory._q_traverse(self, path) File "quixote/directory.py", line 88, in _q_traverse return obj._q_traverse(path) File "quixote/directory.py", line 92, in _q_traverse return obj() File "wcs/qommon/ident/idp.py", line 672, in update_remote provider_id = re.findall(r'(provider|entity)ID="(.*?)"', metadata)[0][1] File "re.py", line 223, in findall return _compile(pattern, flags).findall(string)
Fichiers
Révisions associées
Historique
Mis à jour par Frédéric Péters il y a presque 4 ans
Oui, mais normalement personne ne devrait visiter cette page :/
Mis à jour par Frédéric Péters il y a presque 4 ans
- Fichier 0001-admin-fix-encoding-handling-in-remote-idp-metadata-u.patch 0001-admin-fix-encoding-handling-in-remote-idp-metadata-u.patch ajouté
- Statut changé de Nouveau à Solution proposée
- Patch proposed changé de Non à Oui
Mis à jour par Benjamin Dauvergne il y a presque 4 ans
- Statut changé de Solution proposée à Solution validée
Mis à jour par Frédéric Péters il y a presque 4 ans
- Statut changé de Solution validée à Résolu (à déployer)
commit 44c8a61a9f0ea01db607561ac93bb6dffd57df47 Author: Frédéric Péters <fpeters@entrouvert.com> Date: Mon Jul 27 13:02:35 2020 +0200 admin: fix encoding handling in remote idp metadata update (#45269)
Mis à jour par Frédéric Péters il y a presque 4 ans
- Statut changé de Résolu (à déployer) à Solution déployée
admin: fix encoding handling in remote idp metadata update (#45269)