Diff
Not logged in

Differences From:

File src/xfer.c part of check-in [a48474bc75] - Improvements to the shunning algorithm. Add the shun page and an opportunity to shun or unshun artifacts in the artifact viewer. by drh on 2008-05-29 01:58:15. [view]

To:

File src/xfer.c part of check-in [16ec6e558b] - Always redirect incoming HTTP requests to the /xfer method when the content-type is application/x-fossil. by drh on 2008-05-29 14:00:27. [view]

@@ -488,8 +488,14 @@
 */
 static int disableLogin = 0;
 
 /*
+** The CGI/HTTP preprocessor always redirects requests with a content-type
+** of application/x-fossil or application/x-fossil-debug to this page,
+** regardless of what path was specified in the HTTP header.  This allows
+** clone clients to specify a URL that omits default pathnames, such
+** as "http://fossil-scm.morg/" instead of "http://fossil-scm.org/index.cgi".
+**
 ** WEBPAGE: xfer
 **
 ** This is the transfer handler on the server side.  The transfer
 ** message has been uncompressed and placed in the g.cgiIn blob.