Fossil

Check-in [417e2b41]
Login

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

Overview
Comment:Make sure that the "--nocgi" option gets removed from the command line (hint: short circuit evaluation of the && operator).
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | backoffice-win
Files: files | file ages | folders
SHA3-256: 417e2b4149e0d79f10343d07ee41693c99755c88fb06724cec0bfe0e564bbaa2
User & Date: tsbg 2019-04-26 16:45:25
Context
2019-04-26
16:53
Another invocation of the backoffice was found where the option "--nocgi" might be necessary. Leaf check-in: 5d7c00f7 user: tsbg tags: backoffice-win
16:45
Make sure that the "--nocgi" option gets removed from the command line (hint: short circuit evaluation of the && operator). check-in: 417e2b41 user: tsbg tags: backoffice-win
16:39
Merge trunk. check-in: 3a19db88 user: tsbg tags: backoffice-win
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to src/main.c.

680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
    sqlite3_vfs *pVfs = sqlite3_vfs_find(g.zVfsName);
    if( pVfs ){
      sqlite3_vfs_register(pVfs, 1);
    }else{
      fossil_fatal("no such VFS: \"%s\"", g.zVfsName);
    }
  }
  if( fossil_getenv("GATEWAY_INTERFACE")!=0 && !find_option("nocgi", 0, 0)){
    zCmdName = "cgi";
    g.isHTTP = 1;
  }else if( g.argc<2 && !fossilExeHasAppendedRepo() ){
    fossil_print(
       "Usage: %s COMMAND ...\n"
       "   or: %s help           -- for a list of common commands\n"
       "   or: %s help COMMAND   -- for help with the named command\n",







|







680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
    sqlite3_vfs *pVfs = sqlite3_vfs_find(g.zVfsName);
    if( pVfs ){
      sqlite3_vfs_register(pVfs, 1);
    }else{
      fossil_fatal("no such VFS: \"%s\"", g.zVfsName);
    }
  }
  if( !find_option("nocgi", 0, 0) && fossil_getenv("GATEWAY_INTERFACE")!=0 ){
    zCmdName = "cgi";
    g.isHTTP = 1;
  }else if( g.argc<2 && !fossilExeHasAppendedRepo() ){
    fossil_print(
       "Usage: %s COMMAND ...\n"
       "   or: %s help           -- for a list of common commands\n"
       "   or: %s help COMMAND   -- for help with the named command\n",