diff options
author | drarko <drarko@users.noreply.github.com> | 2014-12-18 12:40:08 -0300 |
---|---|---|
committer | drarko <drarko@users.noreply.github.com> | 2014-12-18 12:40:08 -0300 |
commit | faaa1a89cb981b60fcc76102e38e135ced1998c1 (patch) | |
tree | 4c48f04dbb026bc1e1bfc4bfb5ed8a8273835d62 | |
parent | 10a0fc2856bfa68ff04a42f141829a6e66a9b2da (diff) | |
download | nextcloud-server-faaa1a89cb981b60fcc76102e38e135ced1998c1.tar.gz nextcloud-server-faaa1a89cb981b60fcc76102e38e135ced1998c1.zip |
Fix extra quotes in custom tags in header
Fix #12939
-rw-r--r-- | lib/private/template.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/template.php b/lib/private/template.php index bda802fd2e2..78ebb506385 100644 --- a/lib/private/template.php +++ b/lib/private/template.php @@ -122,7 +122,7 @@ class OC_Template extends \OC\Template\Base { foreach(OC_Util::$headers as $header) { $headers .= '<'.OC_Util::sanitizeHTML($header['tag']); foreach($header['attributes'] as $name=>$value) { - $headers .= ' "'.OC_Util::sanitizeHTML($name).'"="'.OC_Util::sanitizeHTML($value).'"'; + $headers .= ' '.OC_Util::sanitizeHTML($name).'="'.OC_Util::sanitizeHTML($value).'"'; } if ($header['text'] !== null) { $headers .= '>'.OC_Util::sanitizeHTML($header['text']).'</'.OC_Util::sanitizeHTML($header['tag']).'>'; |