Fossil

Check-in [4d3cb0da]
Login

Check-in [4d3cb0da]

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

Overview
Comment:Always try to extract the IP address and PORT number from the --port option to "fossil server" if the option contains a ':' character.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 4d3cb0da65f7d12b818517c9cb1c53d6524f5168ef42df53189fdaa12e610711
User & Date: drh 2018-01-05 15:25:22
Context
2018-01-07
21:38
Update the built-in SQLite to the latest 3.22.0 alpha code. ... (check-in: 5b558bc7 user: drh tags: trunk)
2018-01-06
21:56
Added the ardoise skin. ... (Closed-Leaf check-in: 64e83aa5 user: antoine tags: skin-ardoise)
2018-01-05
15:25
Always try to extract the IP address and PORT number from the --port option to "fossil server" if the option contains a ':' character. ... (check-in: 4d3cb0da user: drh tags: trunk)
14:34
Improved support for both IPv4 and IPv6 on "fossil server" on Windows. Patches from Olivier Mascia. ... (check-in: e506ebb7 user: drh tags: trunk)
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to src/main.c.

2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
    if( isUiCmd && g.localOpen ){
      zInitPage = "timeline?c=current";
    }else{
      zInitPage = "";
    }
  }
  if( zPort ){
    if( strchr(zPort,'.') || zPort[0]=='[' ){
      int i;
      for(i=strlen(zPort)-1; i>=0 && zPort[i]!=':'; i--){}
      if( i>0 ){
        if( zPort[0]=='[' && zPort[i-1]==']' ){
          zIpAddr = mprintf("%.*s", i-2, zPort+1);
        }else{
          zIpAddr = mprintf("%.*s", i, zPort);







|







2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
    if( isUiCmd && g.localOpen ){
      zInitPage = "timeline?c=current";
    }else{
      zInitPage = "";
    }
  }
  if( zPort ){
    if( strchr(zPort,':') ){
      int i;
      for(i=strlen(zPort)-1; i>=0 && zPort[i]!=':'; i--){}
      if( i>0 ){
        if( zPort[0]=='[' && zPort[i-1]==']' ){
          zIpAddr = mprintf("%.*s", i-2, zPort+1);
        }else{
          zIpAddr = mprintf("%.*s", i, zPort);