You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by bu...@apache.org on 2003/11/09 21:56:49 UTC
DO NOT REPLY [Bug 17379] -
Allow absolute filename with FileResourceLoader
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17379>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17379
Allow absolute filename with FileResourceLoader
wglass@forio.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |PatchAvailable
Summary|Can't use absolute filename |Allow absolute filename with
|with FileResourceLoader |FileResourceLoader
Target Milestone|1.4 |1.3
------- Additional Comments From wglass@forio.com 2003-11-09 20:56 -------
This seems a useful feature enhancement. Especially for those building stand-
alone applications it would be nice to allow absolute paths when desired
(indicated by including an empty string for the template path). As the
original poster notes, this remains secure for normal use where the template
path is specified.
I've included a patch and a test case. (ant test works fine, of course). I'd
be happy to submit a patch for the docs when this is committed.
---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-dev-help@jakarta.apache.org