curl-users
error?
From: Klevtsov Vadim <voland_at_alb.ru>
Date: Fri, 16 Nov 2001 01:30:17 +0900
Date: Fri, 16 Nov 2001 01:30:17 +0900
Hello curl-bug
there is possible bug
file: http.c
#ifdef HAVE_STRFTIME
/* format: "Tue, 15 Nov 1994 12:45:26 GMT" */
strftime(buf, BUFSIZE-1, "%a, %d %b %Y %H:%M:%S %Z", thistime);
#else
must be
#ifdef HAVE_STRFTIME
/* format: "Tue, 15 Nov 1994 12:45:26 GMT" */
strftime(buf, BUFSIZE-1, "%a, %d %b %Y %H:%M:%S GMT", thistime);
#else
because in other case output to HTTP header will be
...
If-Modified-Since: Tue, 15 Nov 1994 12:45:26 SomeLocalZoneName
...
this error(?) repeat at ftp.c
/* format: "Tue, 15 Nov 1994 12:45:26 GMT" */
strftime(buf, BUFSIZE-1, "Last-Modified: %a, %d %b %Y %H:%M:%S %Z\r\n",
tm);
I'm wrong???
-- Best regards, Klevtsov Vadim mailto:voland_at_alb.ruReceived on 2001-11-15