summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordrarko <drarko@users.noreply.github.com>2014-12-18 12:40:08 -0300
committerdrarko <drarko@users.noreply.github.com>2014-12-18 12:40:08 -0300
commitfaaa1a89cb981b60fcc76102e38e135ced1998c1 (patch)
tree4c48f04dbb026bc1e1bfc4bfb5ed8a8273835d62
parent10a0fc2856bfa68ff04a42f141829a6e66a9b2da (diff)
downloadnextcloud-server-faaa1a89cb981b60fcc76102e38e135ced1998c1.tar.gz
nextcloud-server-faaa1a89cb981b60fcc76102e38e135ced1998c1.zip
Fix extra quotes in custom tags in header
Fix #12939
-rw-r--r--lib/private/template.php2
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']).'>';