Fossil

Check-in [760f80cd8f]
Login

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

Overview
Comment:double-quote and question mark are a problem as well.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 760f80cd8f6df3ebf62f5726e17cf0aef1efc0fb
User & Date: jan.nijtmans 2013-10-08 15:21:04.276
Context
2013-10-09
00:09
Merge the enhanced SSH transport changes into trunk. The ssh command now runs a single instance of "fossil" directly on the remote side, obviating the need for a remote shell. ... (check-in: dbb5e2d32a user: drh tags: trunk)
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)
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 ){