Projet

Général

Profil

Bug #45269

TypeError: cannot use a string pattern on a bytes-like object

Ajouté par Sentry Io il y a presque 4 ans. Mis à jour il y a presque 4 ans.

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

Révision 44c8a61a (diff)
Ajouté par Frédéric Péters il y a presque 4 ans

admin: fix encoding handling in remote idp metadata update (#45269)

Historique

#1

Mis à jour par Lauréline Guérin il y a presque 4 ans

  • Projet changé de Suivi des traces à w.c.s.
#2

Mis à jour par Frédéric Péters il y a presque 4 ans

Oui, mais normalement personne ne devrait visiter cette page :/

#3

Mis à jour par Frédéric Péters il y a presque 4 ans

#4

Mis à jour par Benjamin Dauvergne il y a presque 4 ans

  • Statut changé de Solution proposée à Solution validée
#5

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)
#6

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

Formats disponibles : Atom PDF