Skip to content

Commit 238696e

Browse files
committed
Fixes XSS in inc/class_parser.php
1 parent 619db08 commit 238696e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: inc/class_parser.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1172,7 +1172,7 @@ function mycode_parse_video($video, $url)
11721172
$domain = explode('.', $parsed_url['host']);
11731173
if($domain[0] != 'screen')
11741174
{
1175-
$local = $domain[0].'.';
1175+
$local = htmlspecialchars_uni($domain[0]).'.';
11761176
}
11771177
else
11781178
{

0 commit comments

Comments
 (0)