WordPress.org

Make WordPress Core

Changeset 30366


Ignore:
Timestamp:
11/17/2014 11:57:46 AM (5 years ago)
Author:
pento
Message:

WPDB: When removing invalid characters from utf8 strings in older versions of PHP, the regex was too large to be compiled.

See #21212

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/wp-db.php

    r30345 r30366  
    24122412                        |   \xED[\x80-\x9F][\x80-\xBF]
    24132413                        |   [\xEE-\xEF][\x80-\xBF]{2}
    2414                         ){1,100}                         # ...one or more times
     2414                        ){1,50}                          # ...one or more times
    24152415                    )
    24162416                    | .                                  # anything else
Note: See TracChangeset for help on using the changeset viewer.