Fossil

Check-in [36ffa749]
Login

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

Overview
Comment:Reword the message printed on the /info page when the UUID is not found and is less than 4 characters.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:36ffa749f0a02adc69c662c9d3db1d2b66141ed6
User & Date: drh 2014-04-22 17:22:10
Context
2014-04-23
11:03
Avoid the use of strcpy() as this upsets OpenBSD. check-in: 3f487aca user: drh tags: trunk
2014-04-22
17:22
Reword the message printed on the /info page when the UUID is not found and is less than 4 characters. check-in: 36ffa749 user: drh tags: trunk
15:15
Add the test-ambiguous command for finding ambiguous SHA1-hash abbreviations. check-in: 2aaae64a user: drh tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to src/info.c.

1915
1916
1917
1918
1919
1920
1921
1922

1923
1924
1925
1926
1927
1928
1929
        event_page();
        return;
      }
    }
    style_header("No Such Object");
    @ <p>No such object: %h(zName)</p>
    if( nLen<4 ){
      @ <p>Objects of length < 4 are too ambiguous to worry about</p>

    }
    style_footer();
    return;
  }else if( rc==2 ){
    cgi_set_parameter("src","info");
    ambiguous_page();
    return;







|
>







1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
        event_page();
        return;
      }
    }
    style_header("No Such Object");
    @ <p>No such object: %h(zName)</p>
    if( nLen<4 ){
      @ <p>Object name should be no less than 4 characters.  Ten or more
      @ characters are recommended.</p>
    }
    style_footer();
    return;
  }else if( rc==2 ){
    cgi_set_parameter("src","info");
    ambiguous_page();
    return;