public static function XPath::filterAttrValue in SAML SP 2.0 Single Sign On (SSO) - SAML Service Provider 8
Filter an attribute value for save inclusion in an XPath query.
Parameters
string $value The value to filter.:
string $quotes The quotes used to delimit the value in the XPath query.:
Return value
string The filtered attribute value.
2 calls to XPath::filterAttrValue()
File
- src/
XMLSecurityKey.php, line 29
Class
Namespace
Drupal\miniorange_samlCode
public static function filterAttrValue($value, $quotes = self::ALL_QUOTES) {
return preg_replace('#' . $quotes . '#', '', $value);
}