Hi! The --repolist page should not include `.fossil` in the item names. The patch is attached.
-- I remain, Arseniy Terekhin
Index: src/main.c ================================================================== --- src/main.c +++ src/main.c @@ -1437,16 +1437,15 @@ n = db_int(0, "SELECT count(*) FROM sfile"); if( n>0 ){ Stmt q; @ <h1>Available Repositories:</h1> @ <ol> - db_prepare(&q, "SELECT x, substr(x,-7,-100000)||'/home'" + db_prepare(&q, "SELECT substr(x,-7,-100000)" " FROM sfile ORDER BY x COLLATE nocase;"); while( db_step(&q)==SQLITE_ROW ){ const char *zName = db_column_text(&q, 0); - const char *zUrl = db_column_text(&q, 1); - @ <li><a href="%h(zUrl)">%h(zName)</a></li> + @ <li><a href="%h(zName)/home">%h(zName)</a></li> } @ </ol> cgi_reply(); } sqlite3_close(g.db);
_______________________________________________ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users