Skip to content
Permalink
Browse files Browse the repository at this point in the history
Fixes XSS in inc/class_parser.php
  • Loading branch information
Stefan-MyBB committed Dec 3, 2013
1 parent 619db08 commit 238696e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inc/class_parser.php
Expand Up @@ -1172,7 +1172,7 @@ function mycode_parse_video($video, $url)
$domain = explode('.', $parsed_url['host']);
if($domain[0] != 'screen')
{
$local = $domain[0].'.';
$local = htmlspecialchars_uni($domain[0]).'.';
}
else
{
Expand Down

0 comments on commit 238696e

Please sign in to comment.