Changes between Initial Version and Version 1 of Ticket #28362
- Timestamp:
- 05/26/2014 10:43:52 AM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #28362
- Property Keywords has-patch added
-
Property
Version
changed from
3.9.1
to2.0.4
-
Property
Milestone
changed from
Awaiting Review
to4.0
-
Ticket #28362 – Description
initial v1 4 4 5 5 To reproduce, open wp-includes/pluggable.php and drop in some debug in the wp_redirect function: 6 {{{ 6 7 echo '<pre>DEBUG: ' . print_r($location, true) . '</pre>'; 7 8 $location = wp_sanitize_redirect($location); 8 9 echo '<pre>DEBUG: ' . print_r($location, true) . '</pre>'; 9 10 die(); 10 11 Then just use wp_redirect('http://google.com/test=12345*abcdef', 301);and you'll see the * is being stripped incorrectly.11 }}} 12 Then just use `wp_redirect('http://google.com/test=12345*abcdef', 301);` and you'll see the * is being stripped incorrectly.