Fossil

Check-in [5d7c00f7]
Login

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

Overview
Comment:Another invocation of the backoffice was found where the option "--nocgi" might be necessary.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | backoffice-win
Files: files | file ages | folders
SHA3-256: 5d7c00f7e5360bcfbf75e7e360b14d048eadd4beeb23a830773aa48358419316
User & Date: tsbg 2019-04-26 16:53:36
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
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to src/backoffice.c.

   600    600         time_t iNext = time(0);
   601    601         for(i=2; i<g.argc; i++){
   602    602           Blob cmd;
   603    603           if( !file_isfile(g.argv[i], ExtFILE) ) continue;
   604    604           if( iNow && iNow>file_mtime(g.argv[i],ExtFILE) ) continue;
   605    605           blob_init(&cmd, 0, 0);
   606    606           blob_append_escaped_arg(&cmd, g.nameOfExe);
   607         -        blob_append(&cmd, " backoffice --nodelay", -1);
          607  +        blob_append(&cmd, " backoffice --nocgi --nodelay", -1);
   608    608           if( g.fAnyTrace ){
   609    609             blob_append(&cmd, " --trace", -1);
   610    610           }
   611    611           blob_append_escaped_arg(&cmd, g.argv[i]);
   612    612           nCmd++;
   613    613           if( bDebug ){
   614    614             fossil_print("COMMAND[%u]: %s\n", nCmd, blob_str(&cmd));