Dmitry Chestnykh Fri, 30 Nov 2012 14:09:20 -0800

Regarding this change:

- Enhance the "fossil server DIRECTORY" command to serve static
content files contained in DIRECTORY.

It now allows downloading the repo itself.

e.g

fossil server ~/fossils

(I have Fossil clone located at ~/fossil/pub/fossil.fossil)

http://127.0.0.1:8080/pub/fossil/

will show the repository, as intended, while

http://127.0.0.1:8080/pub/fossil.fossil

will download it. Oops.

-Dmitry


Why not fossil allow only to serve files from a specific and specified directory (in settings). I think thats better than filtering on mime types etc. An advantage is that it allows you to serve whatever file you want, maybe including fossil repos or whatever custom files you have.


_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to