[wp-hackers] Bug in wp_sanitize_redirect() on IIS ???
lists.automattic.com at callum-macdonald.com
Wed Sep 26 14:44:55 GMT 2007
I haven't experienced this personally, but some users of my WP Mail
SMTP plugin have reported that the Options page redirection doesn't
work properly under IIS. It seems to work fine on LAMP.
After clicking "Update Options" the options page redirects to this url:
It seems the % is being stripped from the / in the URL. The correct url is:
It seems that this is being stripped out in the
wp_sanitize_redirect() function. I can't figure out why it's being
re-introduced under Apache though. As far as I can tell the code strips
out the % but doesn't add it back anywhere before redirecting.
Anyone got any ideas?
Cheers - Callum.
More information about the wp-hackers