Fossil

Check-in [684eb478e7]
Login

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

Overview
Comment:Fix the SCGI processing so that it works with Nginx.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 684eb478e7bb99591c73b3fdd1e5f9dd72c6562e
User & Date: drh 2014-03-22 11:33:09.498
References
2014-03-23
09:46
Cherry-pick [684eb478e7] Fix the SCGI processing so that it works with Nginx ... (check-in: 26eb153988 user: jan.nijtmans tags: branch-1.28)
Context
2014-03-23
17:14
Added some text to the /tar help, per ML suggestion. ... (check-in: 7ba06f150c user: stephan tags: trunk)
09:46
Cherry-pick [684eb478e7] Fix the SCGI processing so that it works with Nginx ... (check-in: 26eb153988 user: jan.nijtmans tags: branch-1.28)
09:42
merge trunk ... (check-in: d7f04ea46f user: jan.nijtmans tags: cleanX)
2014-03-22
11:33
Fix the SCGI processing so that it works with Nginx. ... (check-in: 684eb478e7 user: drh tags: trunk)
08:04
Add --strip-trailing-cr option to [/help?cmd=diff|fossil (g)diff] and [/help?cmd=stash|fossil stash diff]. Make option -w|--ignore-all-space (for [/help?cmd=annotate|fossil annotate], [/help?cmd=blame|fossil blame], [/help?cmd=diff|fossil (g)diff], [/help?cmd=stash|fossil stash diff]) work the same as its "gnu diff" counterpart. ... (check-in: e753ce8310 user: jan.nijtmans tags: trunk)
Changes
Unified Diff Ignore Whitespace Patch
Changes to src/cgi.c.
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
*/
void cgi_init(void){
  char *z;
  const char *zType;
  int len;
  const char *zRequestUri = cgi_parameter("REQUEST_URI",0);
  const char *zScriptName = cgi_parameter("SCRIPT_NAME",0);
  const char *zPathInfo = cgi_parameter("PATH_INFO","");

#ifdef FOSSIL_ENABLE_JSON
  json_main_bootstrap();
#endif
  g.isHTTP = 1;
  cgi_destination(CGI_BODY);
  if( zScriptName==0 ) malformed_request("missing SCRIPT_NAME");







|







872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
*/
void cgi_init(void){
  char *z;
  const char *zType;
  int len;
  const char *zRequestUri = cgi_parameter("REQUEST_URI",0);
  const char *zScriptName = cgi_parameter("SCRIPT_NAME",0);
  const char *zPathInfo = cgi_parameter("PATH_INFO",0);

#ifdef FOSSIL_ENABLE_JSON
  json_main_bootstrap();
#endif
  g.isHTTP = 1;
  cgi_destination(CGI_BODY);
  if( zScriptName==0 ) malformed_request("missing SCRIPT_NAME");