ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 32977] - Ant handles ".." in paths incorrectly
Date Fri, 07 Jan 2005 00:23:55 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=32977>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=32977





------- Additional Comments From ips@apache.org  2005-01-07 01:23 -------
I find it very mildly disturbing :-) The chance that there would be a directory 
by that name in the root directory is minute. 

I can appreciate the intention of the way Ant is behaving. However, I think 
it's overstepping its boundaries. It should be up to the script developer to 
make sure ".."'s are being used as he/she intends them to be used. Perhaps a 
compromise would be for Ant to print a warning message if it notices 
redundant ".."'s, e.g.:

Warning, Line 11: Path "../../../../webapps/wsrf" contains redundant ".." 
elements.


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message