Skip to content
Permalink
Browse files

[XSS fixed] add percent-encoding header.thtml

  • Loading branch information...
ivywe committed Aug 16, 2016
1 parent ad27355 commit beba390fd86bd991414ebf73e3482966d7115654
@@ -16,7 +16,7 @@

<meta name="twitter:image:height" content="400"{xhtml}>
<meta name="twitter:image:width" content="500"{xhtml}>
<meta name="twitter:url" content="<?php echo COM_getCurrentURL(); ?>"{xhtml}>
<meta name="twitter:url" content="<?php echo htmlspecialchars(COM_getCurrentURL(), ENT_QUOTES, 'utf-8'); ?>"

{feed_url}
{rel_links}
@@ -20,7 +20,7 @@

<meta name="twitter:image:height" content="400"{xhtml}>
<meta name="twitter:image:width" content="500"{xhtml}>
<meta name="twitter:url" content="<?php echo COM_getCurrentURL(); ?>"{xhtml}>
<meta name="twitter:url" content="<?php echo htmlspecialchars(COM_getCurrentURL(), ENT_QUOTES, 'utf-8'); ?>"

{feed_url}
{rel_links}
@@ -15,7 +15,7 @@

<meta name="twitter:image:height" content="400"{xhtml}>
<meta name="twitter:image:width" content="500"{xhtml}>
<meta name="twitter:url" content="<?php echo COM_getCurrentURL(); ?>"{xhtml}>
<meta name="twitter:url" content="<?php echo htmlspecialchars(COM_getCurrentURL(), ENT_QUOTES, 'utf-8'); ?>"

{feed_url}
{rel_links}

0 comments on commit beba390

Please sign in to comment.
You can’t perform that action at this time.