Projet

Général

Profil

0001-saml-do-not-show-invalid-SSO-message-to-end-user-537.patch

Thomas Noël, 04 mai 2021 12:17

Télécharger (1,14 ko)

Voir les différences:

Subject: [PATCH] saml: do not show invalid SSO message to end-user (#53716)

 src/authentic2/idp/saml/saml2_endpoints.py | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)
src/authentic2/idp/saml/saml2_endpoints.py
533 533
                extra={'request': request},
534 534
            )
535 535
            return HttpResponseBadRequest(
536
                _(
537
                    "SAMLv2 Single Sign On: invalid message for WebSSO profile with HTTP-Redirect "
538
                    "binding: %r"
539
                )
540
                % message,
536
                _("SAMLv2 Single Sign On: invalid message for WebSSO profile with HTTP-Redirect binding"),
541 537
                content_type='text/plain',
542 538
            )
543 539
        except lasso.ProfileInvalidProtocolprofileError:
544
-