>>>> "tvr" == T V Raman
<ramantv(a)earthlink.net> writes:
tvr> The search form on sourceforge (uses post and is php powered)
tvr> ticlkles an interestingly weird bug in w3 4.0.46 (works fine
tvr> with 4.0.44) --if you do a submit using 4.0.46, you get back an
tvr> error page saying "this url redirected to itself" --and the url
tvr> of the returned error page has the parameters sent as the http
tvr> post stuck at the end like get parameters. Does anyone know
tvr> where this bug crept in from?
with w3-4.0pre.46 I can't even load their main page; w3 gives up and
the *URL-<x>* buffer contains the redirection message you quote. I
think this is due to a buggy mod_php in the Apache they are using; it
can't handle Host: headers which include a port number (and unlike
Netscape, w3 always includes one, even when it's the default port).
(defadvice url-create-mime-request (after url-buggy-http1.1 activate)
"Workaround for certain HTTP daemons which can't cope with a port
number in the Host: header."
(save-match-data
(when (string-match "\\(Host: [^:]+\\):80\\>" ad-return-value)
(setq ad-return-value (replace-match "\\1" t nil ad-return-value)))))
--
Eric Marsden <URL:http://www.laas.fr/~emarsden>