[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: url-http.el: redirection to partial URL with a proxy
From: |
Paul Pogonyshev |
Subject: |
Re: url-http.el: redirection to partial URL with a proxy |
Date: |
Mon, 14 Nov 2005 20:17:39 +0200 |
User-agent: |
KMail/1.7.2 |
Klaus Straubinger wrote:
> The redirection of a URL retrieval request to a partial (not fully
> qualified) URL does not work if the retrieval is attempted with a
> proxy connection. The function url-http-parse-headers in url-http.el
> constructs a fully qualified URL by using the variable
> url-current-object. But this variable contains the proxy URL if a proxy
> is used. This leads to a wrong redirection URL.
>
> The following patch solves this problem. It works because
> url-http-cookies-sources contains always the original URL as set in the
> function url-http. Maybe the variable could be renamed because it is
> useful not just for cookie handling.
And there's an unneeded `s' at the end, I think I made a typo here :)
Something like `url-http-target-url' may be better.
Paul