mirror of
https://github.com/moodle/moodle.git
synced 2025-04-24 18:04:43 +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])*)'.
|
||||
'(:|�*58;|&#[Xx]0*3[Aa];)\s*/e',
|
||||
'kses_bad_protocol_once2("\\1", $allowed_protocols)',
|
||||
'kses_bad_protocol_once2(\'\\1\', $allowed_protocols)',
|
||||
$string);
|
||||
} # function kses_bad_protocol_once
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user