Project

General

Profile

Anomalie #753

Problème d'encodage dans la génération de la réponse saml 1.1

Added by Gaston TJEBBES about 13 years ago. Updated about 13 years ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Category:
-
Target version:
-
Start date:
07/06/2010
Due date:
% Done:

100%

Distribution:

Description

NB : Lorsque l'on a un nom d'établissement avec un accent, on constate l'erreur.

La fonction gen_saml11_response renvoie de l'unicode, actuellement :

response = str(saml_response.gen_saml11_response(ticket, auth_instant, from_url, config.IDP_IDENTITY, infos['uid'][0], user_infos))

devrait peut être être remplacé par :

response = saml_response.gen_saml11_response(ticket, auth_instant, from_url, config.IDP_IDENTITY, infos['uid'][0], user_infos)
response = response.encode(encoding)

Question annexe : est-ce vraiment nécessaire de renvoyer de l'unicode depuis gen_saml11_response ?

Associated revisions

Revision 19586206 (diff)
Added by Bruno Boiget about 13 years ago

correction sur l'encoding des réponses SAML 1.1 (fixes #753)

History

#1 Updated by Bruno Boiget about 13 years ago

  • Status changed from Nouveau to Résolu
  • % Done changed from 0 to 100

#2 Updated by Bruno Boiget about 13 years ago

  • Status changed from Résolu to Fermé

Also available in: Atom PDF