Projet

Général

Profil

Bug #32795

saml, trace encoding artifact

Ajouté par Frédéric Péters il y a presque 5 ans. Mis à jour il y a presque 5 ans.

Statut:
Fermé
Priorité:
Normal
Assigné à:
Catégorie:
-
Version cible:
-
Début:
05 mai 2019
Echéance:
% réalisé:

0%

Temps estimé:
Patch proposed:
Oui
Planning:
Non

Description

[2019-05-05 Sun 22:10:05] 127.0.0.1 - c9d3eaaf DEBUG authentic2.idp.saml.saml2_endpoints.reload_artifact: artifact found
Traceback (most recent call last):
  File "/usr/lib/python2.7/logging/__init__.py", line 868, in emit
    msg = self.format(record)
  File "/usr/lib/python2.7/logging/__init__.py", line 741, in format
    return fmt.format(record)
  File "/usr/lib/python2.7/logging/__init__.py", line 476, in format
    raise e
UnicodeDecodeError: 'ascii' codec can't decode byte 0xf0 in position 6791: ordinal not in range(128)
Logged from file saml2_endpoints.py, line 897

et

 895     try:
 896         login.buildResponseMsg(None)
 897         logger.debug('resolve response %s' % login.msgBody)
 898     except:
 899         logger.exception('resolve error')
 900         return soap_fault(request,
 901                 faultcode='soap:Server',
 902                 faultstring='Internal Server Error')

Une réponse a pu être construite mais au moment de la logguer, problème d'encodage.


Fichiers

Révisions associées

Révision d5a55fca (diff)
Ajouté par Frédéric Péters il y a presque 5 ans

saml: don't error when logging a 8bit artifact response (#32795)

Historique

#1

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

#2

Mis à jour par Thomas Noël il y a presque 5 ans

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

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

  • Assigné à mis à Benjamin Dauvergne
#4

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

  • Statut changé de Solution validée à Résolu (à déployer)
commit d5a55fcaa742e58d591a43e396092fe56553c871
Author: Frédéric Péters <fpeters@entrouvert.com>
Date:   Sat Jun 1 20:05:10 2019 +0200

    saml: don't error when logging a 8bit artifact response (#32795)
#5

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

  • Statut changé de Résolu (à déployer) à Solution déployée

Formats disponibles : Atom PDF