follow-up re handling redirects with cookies and other stuff

Charles C. Fu (ccwf@bacchus.com)
Fri, 17 Jul 1998 03:07:12 -0700 (PDT)


Maurice Aubrey writes:
> $url = url '../../images/interface_images/logo.gif', 'http://www.ahn.com/';
> $url = $url->abs;
> print "$url\n";

> produces:

>   http://www.ahn.com/../../images/interface_images/logo.gif

> Is that the correct behavior?

Yes.  See RFC 1808 (Relative URLs).

-ccwf