Fossil

Changes On Branch content-type-no-charset
Login

Changes On Branch content-type-no-charset

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

Changes In Branch content-type-no-charset Excluding Merge-Ins

This is equivalent to a diff from e6554457 to 15e7b49e

2022-06-07
06:22
Corrected a bit of misinformation in search.c's comments, per a report in the forum. ... (check-in: 6d6880c8 user: stephan tags: trunk)
2022-06-06
18:02
Replace /pikchrshow with a WASM-based version and rename the prior version to /pikchrshowcs (cs=client/server). There are still a couple layout/style quirks to resolve, and a feature or two to port from the legacy app, but it more or less works. ... (check-in: 321f01a8 user: stephan tags: pikchrshow-wasm)
15:51
Remove the '; charset=utf-8' suffix from response Content-Type headers. That modifier is technically incorrect for many mimetypes, but wasm loaders are extra picky about it and refuse to load wasm files with the charset set. An attempt at porting over althttpd's solution for this same problem leads down a much deeper and far more invasive rabbit hole because how fossil handles/sets the response content type is more involved than in althttpd. ... (Closed-Leaf check-in: 15e7b49e user: stephan tags: content-type-no-charset)
00:41
Fix the new linear bisect so that it always goes from good to bad and stops at the first bad check-in found. ... (check-in: e6554457 user: drh tags: trunk)
2022-06-05
19:43
Add the "fossil bisect option linear on" command that allows the "fossil bisect run" command to invoke a test script on every check-in along a path between two boundary check-ins. The "linear" option resets automatically opon "fossil bisect reset". ... (check-in: 42f61b67 user: drh tags: trunk)

Changes to src/cgi.c.

491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
  ** a CGI script.
  */

  /* Content intended for logged in users should only be cached in
  ** the browser, not some shared location.
  */
  if( iReplyStatus!=304 ) {
    blob_appendf(&hdr, "Content-Type: %s; charset=utf-8\r\n", zContentType);
    if( fossil_strcmp(zContentType,"application/x-fossil")==0 ){
      cgi_combine_header_and_body();
      blob_compress(&cgiContent[0], &cgiContent[0]);
    }

    if( is_gzippable() && iReplyStatus!=206 ){
      int i;







|







491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
  ** a CGI script.
  */

  /* Content intended for logged in users should only be cached in
  ** the browser, not some shared location.
  */
  if( iReplyStatus!=304 ) {
    blob_appendf(&hdr, "Content-Type: %s\r\n", zContentType);
    if( fossil_strcmp(zContentType,"application/x-fossil")==0 ){
      cgi_combine_header_and_body();
      blob_compress(&cgiContent[0], &cgiContent[0]);
    }

    if( is_gzippable() && iReplyStatus!=206 ){
      int i;