Fossil

Check-in [1ec0739c]
Login

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

Overview
Comment:Allow browsing of directories whose names contain characters that must be escaped for HTML.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 1ec0739c4bb054aea369f5713dd9925b1906a816
User & Date: drh 2011-08-22 19:02:39
Context
2011-08-23
14:47
Merge the versionable-settings cache into trunk. check-in: ea51d127 user: drh tags: trunk
08:37
Cache values of versionable settings read from files. Closed-Leaf check-in: 0f0a9473 user: ben tags: ben-minorchanges
01:44
catch up with trunk; update the pre-checkin list to include checking for your username. check-in: a1f39877 user: martin.weber tags: msw-hack
2011-08-22
22:20
Merge trunk. check-in: c57830be user: dmitry tags: symlinks
19:02
Allow browsing of directories whose names contain characters that must be escaped for HTML. check-in: 1ec0739c user: drh tags: trunk
18:45
Add the Makefile.in file back into the checkout. check-in: 5feb1d60 user: drh tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to src/browse.c.

144
145
146
147
148
149
150
151
152
153
154
155
156
157
158


  /* Compute the title of the page */  
  blob_zero(&dirname);
  if( zD ){
    blob_append(&dirname, "in directory ", -1);
    hyperlinked_path(zD, &dirname, zCI);
    zPrefix = mprintf("%h/", zD);
  }else{
    blob_append(&dirname, "in the top-level directory", -1);
    zPrefix = "";
  }
  if( zCI ){
    char zShort[20];
    memcpy(zShort, zUuid, 10);







|







144
145
146
147
148
149
150
151
152
153
154
155
156
157
158


  /* Compute the title of the page */  
  blob_zero(&dirname);
  if( zD ){
    blob_append(&dirname, "in directory ", -1);
    hyperlinked_path(zD, &dirname, zCI);
    zPrefix = mprintf("%s/", zD);
  }else{
    blob_append(&dirname, "in the top-level directory", -1);
    zPrefix = "";
  }
  if( zCI ){
    char zShort[20];
    memcpy(zShort, zUuid, 10);