I recently came across a server that's sending a Location header (for a redirect) that looks like this:
Location: http://www.example.com/something.ext?auth=123|123
When I try to use this in my Java program it complains about an "Illegal character in query" and fails.
So is the server doing something incorrect? Is this legal?