On 29 August 2012 13:20, Stephan Beal <sgb...@googlemail.com> wrote: > On Wed, Aug 29, 2012 at 12:15 PM, Stuart Rackham <srack...@gmail.com> wrote: >> >> Yes, the "allow-symlinks" setting is on, in this particular repository >> there are shared resources (CSS files and images) that are common to >> ...a symlink and load the actual file artifact that it refered to. This >> >> is what you expect when you read a file via a symlink and is how a web >> server would treat the file if it resided on a file system. > > > That is a reasonable/realistic assumption, but symlinks support was grafted > on much later and almost certainly has a corner case or three remaining > (symlinks aren't platform-portable, and were not originally supported at all > by fossil).
Aside from not being platform-portable following symlinks also requires checking if they point outside of the checkout tree or not. The alternative - using proper relative references to the files in another directory resolves the symlinks in the browser which is portable and can only work for files that shall be accessible. Thanks Michal _______________________________________________ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users