GNOME Bugzilla – Bug 570876
evolution load images sends bad http requests
Last modified: 2010-01-20 12:20:29 UTC
Please describe the problem: A bug has been reported on launchpad here: https://bugs.edge.launchpad.net/ubuntu/+source/evolution-data-server/+bug/326581 Steps to reproduce: Actual results: Expected results: Does this happen every time? Yes Other information: Also affects project Also affects distribution Nominate for release This bug doesn't affect me (change) Evolution and/or libCamel are constructing the HTTP request incorrectly when loading images. The following HTML e-mail excerpt (from a PS3-related e-mail): <img src="http://images.innovyx.net/dp/scea/ps3news/012309/i/ftr/ps3n0608_verytop.jpg" width="121" height="10" border="0" /> ...is generating the following HTTP request (captured from Wireshark): GET http://images.innovyx.net/dp/scea/ps3news/012309/i/ftr/ps3n0608_verytop.jpg HTTP/1.0 User-Agent: CamelHttpStream/1.0 Evolution/2.24.3 Host: images.innovyx.net Notice that the entire URL (the absoluteURI - http://images.innovyx.net/dp/scea/ps3news/012309/i/ftr/ps3n0608_verytop.jpg) is included the as the Request-URI, rather than just the absolute path (abs_path). This request is NOT being made to a proxy server, so according to the HTTP/1.0 protocol (http://www.w3.org/Protocols/HTTP/1.0/draft-ietf-http-spec.html#Request-Line), the Request-URI should be an absolute path. The web server in this request doesn't understand the request and therefore gives an HTTP/1.0 400 Bad Request. The HTTP request should only send the absolute path when a proxy server is not being used. For some sites, this appears to work, but for others it doesn't. I'm guessing this is a bug in libCamel, since it should know that a proxy server is not being used and construct the request line properly. This is on: Release: Ubuntu 8.10 evolution: 2.24.3-0ubuntu1 evolution-data-server: 2.24.3-0ubuntu1 libcamel1.2-14: 2.24.3-0ubuntu1
This bug also exists in openSuSE 11.1. evolution-exchange-2.24.1-4.12 evolution-mono-providers-0.1.1-2.16 evolution-webcal-2.24.0-1.35 evolution-data-server-lang-2.24.1.1-5.1 evolution-2.24.1.1-4.11 evolution-sharp-0.18.1-2.14 evolution-lang-2.24.1.1-4.11 evolution-webcal-lang-2.24.0-1.35 evolution-data-server-2.24.1.1-5.1 evolution-exchange-lang-2.24.1-4.12 This is terribly annoying.
I opened bug # 577066 for the same reason and from the same cause (PS3 e-mails). I'm using Evolution 2.26.3 now and it works.
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find. *** This bug has been marked as a duplicate of bug 511283 ***