projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
748db28
)
[REF][PHP8.1] Permit single quotes within html attributes
author
Seamus Lee
<seamuslee001@gmail.com>
Thu, 28 Jul 2022 21:44:02 +0000
(07:44 +1000)
committer
Seamus Lee
<seamuslee001@gmail.com>
Thu, 28 Jul 2022 21:44:02 +0000
(07:44 +1000)
CRM/Core/Page.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Core/Page.php
b/CRM/Core/Page.php
index 76a3e7e26e256d079bd22666405eb2d68fccb816..a252b994247321b4faa21117dd0b44de835f5b8c 100644
(file)
--- a/
CRM/Core/Page.php
+++ b/
CRM/Core/Page.php
@@
-511,7
+511,7
@@
class CRM_Core_Page {
$attribs = array_merge($standardAttribs, $attribs);
foreach ($attribs as $attrib => $val) {
if (strlen($val)) {
- $val = htmlspecialchars($val);
+ $val = htmlspecialchars($val
, ENT_COMPAT
);
$attribString .= " $attrib=\"$val\"";
}
}