Overview
SHA1 Hash: | 16e765bac59e30d61dbbe54d19172e6ca8600a5f |
---|---|
Date: | 2008-02-25 00:18:30 |
User: | drh |
Comment: | Fix a bug in the "info" webpage. |
Timelines: | ancestors | descendants | both | trunk |
Other Links: | files | ZIP archive | manifest |
Tags And Properties
- branch=trunk inherited from [a28c83647d]
- sym-trunk inherited from [a28c83647d]
Changes
[hide diffs]Modified src/info.c from [7d442c6c2d] to [20d5e8730b].
@@ -794,11 +794,11 @@ if( zName==0 ) cgi_redirect("index"); nName = strlen(zName); if( nName<4 || nName>UUID_SIZE || !validate16(zName, nName) ){ cgi_redirect("index"); } - rid = db_int(0, "SELECT rid FROM blob WHERE uuid GLOB '%s*'"); + rid = db_int(0, "SELECT rid FROM blob WHERE uuid GLOB '%s*'", zName); if( rid==0 ){ style_header("Broken Link"); @ <p>No such object: %h(zName)</p> style_footer(); return;