[Templates] ttree enhancement request

David Dyer-Bennet dd-b@dd-b.net
03 Oct 2003 18:18:04 -0500


Bryce Harrington <bryce@osdl.org> writes:

> On 3 Oct 2003, David Dyer-Bennet wrote:
> 
> > There doesn't seem to be any way to set the ABSOLUTE or RELATIVE
> > attributes when processing through ttree.  It's good to have control
> > over what kind of pathnames are allowed -- but the dangerous situation
> > is when running via CGI or mod_perl, with untrusted user inputs; when
> > running via ttree, it's a much more controlled environment, and I'd
> > like to turn on more flexible path rules, but there isn't any way to.
> 
> Maybe this'd do it for you...

[patch snipped]

That looks about right; although I believe it's not absolute *vs.*
relative; it's turning on either or both of absolute and relative
independently, and the alternative is paths descending only from
things in the library directory list.  I don't actually like having
too many things in that list, since name duplications could be, um,
too exciting.  

Forgive me for not knowing the "power structure" around here -- is
that patch or something like it likely to get into the development
tree, or will any patch I apply for this be my own problem for all
future versions? 
-- 
David Dyer-Bennet, <dd-b@dd-b.net>, <www.dd-b.net/dd-b/>
RKBA: <noguns-nomoney.com> <www.dd-b.net/carry/>
Photos: <dd-b.lighthunters.net>  Snapshots: <www.dd-b.net/dd-b/SnapshotAlbum/>
Dragaera mailing lists: <dragaera.info/>