wp_sanitize_redirect() kills "@" in URL's
|Reported by:||theandystratton||Owned by:||theandystratton|
We had a URL like:
WP 301's to
But wp_redirect()'s call to wp_sanitize_redirect() kills the "@" symbol. The reason for this being that a theme/plugin could be using query string arguments for something (i.e. form that accepts pre-populated input via query string, like an email address or arbitrary text).
This could have been an oversight OR it could be on purpose, if so, would like to know (I'd assume a security reason).
Change History (9)
- Milestone Awaiting Review deleted
- Resolution set to invalid
- Status changed from new to closed
6 months ago
- Component changed from General to Formatting
- Keywords has-patch added
- Milestone changed from Awaiting Review to 4.4