After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 570876 - evolution load images sends bad http requests
evolution load images sends bad http requests
Status: RESOLVED DUPLICATE of bug 511283
Product: evolution-data-server
Classification: Platform
Component: general
2.24.x (obsolete)
Other All
: Normal minor
: ---
Assigned To: Evolution Shell Maintainers Team
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2009-02-07 15:45 UTC by Patrick Kilgore
Modified: 2010-01-20 12:20 UTC
See Also:
GNOME target: ---
GNOME version: 2.23/2.24



Description Patrick Kilgore 2009-02-07 15:45:57 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
Comment 1 jrobiso2 2009-02-17 13:45:43 UTC
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.

Comment 2 Nick G. 2009-12-09 01:54:44 UTC
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.
Comment 3 Milan Crha 2010-01-20 12:20:29 UTC
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 ***