Commit 9f26170 from issue #13488 appears to improperly parse URLs if the query string ends in ?, such as http://host/?q=?. I noticed through code inspection, so I don't have a way to verify and so this issue might be invalid. The current playground seems to behave correctly: http://play.golang.org/p/khxLopsBd0