From 30c6bf1b9560e13003933ce00bc1d7e9d11a68db Mon Sep 17 00:00:00 2001 From: Thomas Gelf Date: Fri, 4 May 2018 22:54:48 +0200 Subject: [PATCH] ipl: relax attribute name checks --- library/vendor/ipl/Html/Attribute.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/vendor/ipl/Html/Attribute.php b/library/vendor/ipl/Html/Attribute.php index 69a7e986..d8ac9a5c 100644 --- a/library/vendor/ipl/Html/Attribute.php +++ b/library/vendor/ipl/Html/Attribute.php @@ -58,7 +58,7 @@ class Attribute */ public function setName($name) { - if (! preg_match('/^[a-z][a-z:-]*$/i', $name)) { + if (! preg_match('/^[a-z][a-z0-9:-]*$/i', $name)) { throw new ProgrammingError( 'Attribute names with special characters are not yet allowed: %s', $name