redirect_to issue - lost port number

Hi all,

I found an issue with "redirect_to" by accident and hoped someone
could fill me in on what is happening. If I try to do a redirect to
somewhere that doesn't exist, the port number will be dropped from the
url and I get a "Can't connect to server" error.


redirect_to "beans"


I guess it's defaulting to port 80, but can anyone tell me why?