Decode internal perl encoding for SAML attribute (#864)
This commit is contained in:
parent
a001fb1be4
commit
7d7e5a6717
|
@ -2889,6 +2889,9 @@ sub createAttributeValue {
|
|||
# Value is required
|
||||
return unless defined $value;
|
||||
|
||||
# Decode UTF-8
|
||||
$value = decode( "utf8", $value );
|
||||
|
||||
# SAML2 attribute value
|
||||
eval { $saml2value = Lasso::Saml2AttributeValue->new(); };
|
||||
if ($@) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user