Hello.

I've noticed a few issues with an embedded documentation:

1) http://localhost:8080/doc/ crashes a request handler, because zCheckin
gets initialized with an empty string in doc_page(), which makes
name_to_typed_rid() to return 0 instead of calling fossil_fatal() and this
0 crashes fociFilter, because it does not verify the result of calling
manifest_get().

2) http://localhost:8080/doc/ckout/anything works in "fossil ui", but shows
the following in "fossil server":

SQLITE_ERROR: statement aborts at 5: [ATTACH DATABASE '.../_FOSSIL_'
AS 'localdb'] cannot ATTACH database within transaction

3) A comment for doc_page() in doc.c says (a verb is missing!) that:

> If FILE ends in "/" then names "FILE/index.html", "FILE/index.wiki",
> and "FILE/index.md" are  in that order.

However, in fact http://localhost:8080/doc/tip/ does not search for
an index file but http://localhost:8080/doc/tip does. Furthermore in
the latter case it emits an invalid <base> tag which breaks all links
on the index page.

_______________________________________________
fossil-users mailing list
[email protected]
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to