mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-27 15:54:03 +02:00
ipl: relax attribute name checks
This commit is contained in:
parent
a10fa5abff
commit
30c6bf1b95
2
library/vendor/ipl/Html/Attribute.php
vendored
2
library/vendor/ipl/Html/Attribute.php
vendored
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user