Fossil

Check-in [99318f09e6]
Login

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

Overview
Comment:Fix the abbreviated project name escape mechanism to escape all and only the characters that are special to unix and windows filesystems.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 99318f09e6075f70778545fa00b4da3a49d8c09f
User & Date: drh 2013-10-08 15:10:21.685
Context
2013-10-08
15:21
double-quote and question mark are a problem as well. ... (check-in: 760f80cd8f user: jan.nijtmans tags: trunk)
15:10
Fix the abbreviated project name escape mechanism to escape all and only the characters that are special to unix and windows filesystems. ... (check-in: 99318f09e6 user: drh tags: trunk)
14:50
Bring in the latest SQLite 3.8.1 beta from upstream. ... (check-in: 4910a37809 user: drh tags: trunk)
Changes
Unified Diff Ignore Whitespace Patch
Changes to src/info.c.
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
    if( g.perm.Hyperlink ){
      const char *zPJ = db_get("short-project-name", 0);
      char *zProjName;
      int jj;
      if( zPJ==0 ) zPJ = db_get("project-name", "unnamed");
      zProjName = mprintf("%s", zPJ);
      for(jj=0; zProjName[jj]; jj++){
        if( strchr("\\/:*?[]", zProjName[jj]) ) zProjName[jj] = '_';
      }
      @ <tr><th>Timelines:</th><td>
      @   %z(href("%R/timeline?f=%S",zUuid))family</a>
      if( zParent ){
        @ | %z(href("%R/timeline?p=%S",zUuid))ancestors</a>
      }
      if( !isLeaf ){







|







583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
    if( g.perm.Hyperlink ){
      const char *zPJ = db_get("short-project-name", 0);
      char *zProjName;
      int jj;
      if( zPJ==0 ) zPJ = db_get("project-name", "unnamed");
      zProjName = mprintf("%s", zPJ);
      for(jj=0; zProjName[jj]; jj++){
        if( strchr("\\/:*<>|", zProjName[jj]) ) zProjName[jj] = '_';
      }
      @ <tr><th>Timelines:</th><td>
      @   %z(href("%R/timeline?f=%S",zUuid))family</a>
      if( zParent ){
        @ | %z(href("%R/timeline?p=%S",zUuid))ancestors</a>
      }
      if( !isLeaf ){