Branch: Tag:

2012-05-16

2012-05-16 22:34:29 by Martin Nilsson <nilsson@opera.com>

Handle non-standards complient relative redirects.

662:    seen[url]=1;    c = get_url(url, query_variables, request_headers, con);    if(!c) return 0; -  if(c->status==302) url = c->headers->location; +  if(c->status==302) +  url = Standards.URI(c->headers->location, url);    } while( c->status!=200 );    return ({ c->headers["content-type"], c->data() });   }