SECURITY: Don't normalize U+FF3C to \
Bug: 58088 Change-Id: I10bf8dbce41bd617ddf16eb5fc20af1b1cb5f201
This commit is contained in:
parent
befff4f2ef
commit
f8c9f876ef
1 changed files with 1 additions and 1 deletions
|
|
@ -867,7 +867,7 @@ class Sanitizer {
|
|||
|
||||
// Normalize Halfwidth and Fullwidth Unicode block that IE6 might treat as ascii
|
||||
$value = preg_replace_callback(
|
||||
'/[!-z]/u', // U+FF01 to U+FF5A
|
||||
'/[!-[]-z]/u', // U+FF01 to U+FF5A, excluding U+FF3C (bug 58088)
|
||||
function ( $matches ) {
|
||||
$cp = utf8ToCodepoint( $matches[0] );
|
||||
if ( $cp === false ) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue