mirror of
https://github.com/moodle/moodle.git
synced 2025-06-04 15:15:25 +02:00
MDL-13705
This commit is contained in:
parent
6fd0984c24
commit
15cda9c89f
@ -471,7 +471,7 @@ function kses_bad_protocol_once($string, $allowed_protocols)
|
|||||||
{
|
{
|
||||||
return preg_replace('/^((&[^;]*;|[\sA-Za-z0-9])*)'.
|
return preg_replace('/^((&[^;]*;|[\sA-Za-z0-9])*)'.
|
||||||
'(:|�*58;|&#[Xx]0*3[Aa];)\s*/e',
|
'(:|�*58;|&#[Xx]0*3[Aa];)\s*/e',
|
||||||
'kses_bad_protocol_once2("\\1", $allowed_protocols)',
|
'kses_bad_protocol_once2(\'\\1\', $allowed_protocols)',
|
||||||
$string);
|
$string);
|
||||||
} # function kses_bad_protocol_once
|
} # function kses_bad_protocol_once
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user