Fossil

Check-in [b7bebbe44f]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:X-UA-Compatible (MSIE) HTTP header patch from Warren Young.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: b7bebbe44f92bb6d48b8688af61f874a584300b1
User & Date: stephan 2014-08-12 14:48:31.408
Context
2014-08-12
19:35
Issue a not-found error in CGI if using the "directory:" configuration and there is not PATH_INFO. Ticket [c481aa2fdbc67b7] ... (check-in: ac8e9e555d user: drh tags: trunk)
15:48
X-UA-Compatible (MSIE) HTTP header patch from Warren Young ... (check-in: 1a9e494483 user: jan.nijtmans tags: branch-1.29)
14:48
X-UA-Compatible (MSIE) HTTP header patch from Warren Young. ... (check-in: b7bebbe44f user: stephan tags: trunk)
2014-08-11
13:57
Update the built-in SQLite to 3.8.6 beta2. ... (check-in: 981e853f6c user: drh tags: trunk)
Changes
Unified Diff Ignore Whitespace Patch
Changes to src/cgi.c.
304
305
306
307
308
309
310

311
312
313
314
315
316
317
  }
#endif

  if( g.fullHttpReply ){
    fprintf(g.httpOut, "HTTP/1.0 %d %s\r\n", iReplyStatus, zReplyStatus);
    fprintf(g.httpOut, "Date: %s\r\n", cgi_rfc822_datestamp(time(0)));
    fprintf(g.httpOut, "Connection: close\r\n");

  }else{
    fprintf(g.httpOut, "Status: %d %s\r\n", iReplyStatus, zReplyStatus);
  }

  if( blob_size(&extraHeader)>0 ){
    fprintf(g.httpOut, "%s", blob_buffer(&extraHeader));
  }







>







304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
  }
#endif

  if( g.fullHttpReply ){
    fprintf(g.httpOut, "HTTP/1.0 %d %s\r\n", iReplyStatus, zReplyStatus);
    fprintf(g.httpOut, "Date: %s\r\n", cgi_rfc822_datestamp(time(0)));
    fprintf(g.httpOut, "Connection: close\r\n");
    fprintf(g.httpOut, "X-UA-Compatible: IE=edge\r\n");
  }else{
    fprintf(g.httpOut, "Status: %d %s\r\n", iReplyStatus, zReplyStatus);
  }

  if( blob_size(&extraHeader)>0 ){
    fprintf(g.httpOut, "%s", blob_buffer(&extraHeader));
  }