Fossil

Check-in [d53a7528b5]
Login

Check-in [d53a7528b5]

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

Overview
Comment:Make sure the 'server' command checks for and processes the --files-urlenc option.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | filesUrlEncOpt
Files: files | file ages | folders
SHA1: d53a7528b57e9a036c1b442ec97a2eb5d6a346e1
User & Date: mistachkin 2014-08-02 21:04:54.266
Context
2014-08-04
03:40
Make sure the 'server' command checks for and processes the --files-urlenc option. ... (check-in: 608f0b2371 user: mistachkin tags: trunk)
2014-08-02
21:04
Make sure the 'server' command checks for and processes the --files-urlenc option. ... (Closed-Leaf check-in: d53a7528b5 user: mistachkin tags: filesUrlEncOpt)
16:20
Missed a few more corrections for error messages. ... (check-in: dd5743a823 user: andybradford tags: trunk)
Changes
Unified Diff Ignore Whitespace Patch
Changes to src/main.c.
2103
2104
2105
2106
2107
2108
2109
2110







2111
2112
2113
2114
2115
2116
2117
  char *zIpAddr = 0;        /* Bind to this IP address */

#if defined(_WIN32)
  const char *zStopperFile;    /* Name of file used to terminate server */
  zStopperFile = find_option("stopper", 0, 1);
#endif

  zFileGlob = find_option("files", 0, 1);







  g.useLocalauth = find_option("localauth", 0, 0)!=0;
  Th_InitTraceLog();
  zPort = find_option("port", "P", 1);
  zNotFound = find_option("notfound", 0, 1);
  zAltBase = find_option("baseurl", 0, 1);
  if( find_option("scgi", 0, 0)!=0 ) flags |= HTTP_SERVER_SCGI;
  if( zAltBase ){







|
>
>
>
>
>
>
>







2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
  char *zIpAddr = 0;        /* Bind to this IP address */

#if defined(_WIN32)
  const char *zStopperFile;    /* Name of file used to terminate server */
  zStopperFile = find_option("stopper", 0, 1);
#endif

  zFileGlob = find_option("files-urlenc",0,1);
  if( zFileGlob ){
    char *z = mprintf("%s", zFileGlob);
    dehttpize(z);
    zFileGlob = z;
  }else{
    zFileGlob = find_option("files",0,1);
  }
  g.useLocalauth = find_option("localauth", 0, 0)!=0;
  Th_InitTraceLog();
  zPort = find_option("port", "P", 1);
  zNotFound = find_option("notfound", 0, 1);
  zAltBase = find_option("baseurl", 0, 1);
  if( find_option("scgi", 0, 0)!=0 ) flags |= HTTP_SERVER_SCGI;
  if( zAltBase ){