Diff
Not logged in

Differences From:

File src/url.c part of check-in [797d680ef5] - Add code to understand the "https://" prefix on server URLs. Any attempt to use https gives an error at this point, however. This is a work in progress. by drh on 2009-01-13 18:43:47. [view]

To:

File src/url.c part of check-in [945ecd1a8b] - Add support for "file:" URLs on push, pull, and sync. by drh on 2009-04-11 12:51:44. [view]

@@ -117,8 +117,10 @@
     Blob cfile;
     dehttpize(zFile);
     file_canonical_name(zFile, &cfile);
     free(zFile);
+    g.urlProtocol = "file";
+    g.urlPath = "";
     g.urlName = mprintf("%b", &cfile);
     g.urlCanonical = mprintf("file://%T", g.urlName);
     blob_reset(&cfile);
   }