mirror of
https://github.com/moodle/moodle.git
synced 2025-08-03 08:09:47 +02:00
MDL-11413 I hope now it is correct solution
This commit is contained in:
parent
e2fa911b73
commit
0352cd2ffa
2 changed files with 1 additions and 3 deletions
|
@ -470,7 +470,7 @@ function kses_bad_protocol_once($string, $allowed_protocols)
|
|||
###############################################################################
|
||||
{
|
||||
return preg_replace('/^((&[^;]*;|[\sA-Za-z0-9])*)'.
|
||||
'(:|�*58;|&#[Xx]3[Aa];)\s*/e',
|
||||
'(:|�*58;|&#[Xx]0*3[Aa];)\s*/e',
|
||||
'kses_bad_protocol_once2("\\1", $allowed_protocols)',
|
||||
$string);
|
||||
} # function kses_bad_protocol_once
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue