I have discovered a problem when a Google mobile crawler visits my desktop site. It attempts to do a 301 to the corresponding mobile domain, as it should. However, the location parameter includes garbage in the URL.
For example, when a mobile Googlebot visits "http://www.bradbrownmagic.com/programs/overview/" it should be forwarded to "http://m.bradbrownmagic.com/programs/overview/". Instead it is being forward to "http://m.bradbrownmagic.com/pro%E2%80%8Bgra%E2%80%8Bms/%E2%80%8Bove%E2%80%8Brvi%E2%80%8Bew/"
For reference, here is everything being returned by a request from a mobile Googlebot:
HTTP/1.1 301 Moved Permanently
Date: Thu, 26 May 2011 21:47:34 GMT
Server: Apache
X-Powered-By: PHP/5.2.17
X-Pingback: http://m.bradbrownmagic.com/xmlrpc.php
X-Mobilized-By: WordPress Mobile Pack 1.2.4
Expires: Wed, 11 Jan 1984 05:00:00 GMT
Cache-Control: no-cache, must-revalidate, max-age=0
Pragma: no-cache
Vary: Host,Accept-Encoding
Last-Modified: Thu, 26 May 2011 21:47:35 GMT
Location: http://m.bradbrownmagic.com/pro%E2%80%8Bgra%E2%80%8Bms/%E2%80%8Bove%E2%80%8Brvi%E2%80%8Bew/
Content-Encoding: gzip
Content-Length: 20
Keep-Alive: timeout=10, max=30
Connection: Keep-Alive
Content-Type: text/html; charset=UTF-8
I'll keep digging, but was wondering if anyone had a clue as to what's causing this.
-Brad