Changeset 46462 for trunk/src/wp-includes/pluggable.php
- Timestamp:
- 10/11/2019 11:52:11 PM (6 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/pluggable.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/pluggable.php
r46232 r46462 1281 1281 */ 1282 1282 function wp_sanitize_redirect( $location ) { 1283 // Encode spaces. 1284 $location = str_replace( ' ', '%20', $location ); 1285 1283 1286 $regex = '/ 1284 1287 ( … … 1297 1300 $location = wp_kses_no_null( $location ); 1298 1301 1299 // remove %0d and %0a from location1302 // Remove %0D and %0A from location. 1300 1303 $strip = array( '%0d', '%0a', '%0D', '%0A' ); 1301 1304 return _deep_replace( $strip, $location );
Note: See TracChangeset
for help on using the changeset viewer.