libghttp bug
- From: Stephane Genaud <genaud icps u-strasbg fr>
- To: gnome-devel-list gnome org
- Cc: blizzard redhat com
- Subject: libghttp bug
- Date: 07 Sep 2002 16:41:31 +0200
Hello there,
i found a bug in libghttp-1.0.9 that may not appear to
many of you. Though,as many applications use it, for example
on my home computer : gnome-media-1.2.3, gtkhtml-1.0.1,
enlightenment-0.16.5, gnome-applets-1.4.0.5,gquotes-0.3.4,
gnorpm-0.96, grip-2.98.6, this bug is annoying.
It seems that the string containing the HTTP request is
sensible to the LANG environment variable, and the
"HTTP 1.1" substring becomes "HTTP 1,1" in environments
like LANG=fr where LC_NUMERIC=fr_FR (where , is used instead
of . in decimal numbers).
So, with FR env, i got
"GET /index.html HTTP/1,1" 400 401 "-" "-"
where as running the application in a US env makes the correct
request :
"GET /index.html HTTP/1.1" 200 1084 "-" "libghttp/1.0"
I got aware of this with Apache 1.3.26 that returns an HTTP error
code 400 for such requests.
As i found nothing in the mail archive of gnome-devel, i am working
on a patch but i would appreciate comments on this.
Please, can you Cc: your response to me as i will not be reading
the list next week.
Thanks.
--
Stéphane Genaud
ICPS-LSIIT, Université Louis Pasteur
Pôle API, Bd. S. Brant, F-67400 Illkirch
tel : (33)(0)390244542, 0619058113 (SFR)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]