Pete Collins wrote:
>
> 2. I think ridding AppendRelativePath is a good idea and will solve a
> lot of problems. However, GetLeafName and Append need to support '../'
> paths on unix.
>
> Example: '/usr/local/www/../../../etc/passwd'
>
> Is a perfectly valid unix file path.
Doesn't this take us back to a world where we suffer because of file
path differences on different platforms?
Allowing Append("foo/bar") opens up a world of hurt. How does this
work on Mac (where file *names* can contain '..' and '/')?
Simon
- nsIFile fun. Judson Valeski
- Re: nsIFile fun. Patrick Beard
- Re: nsIFile fun. TenThumbs
- Re: nsIFile fun. Pete Collins
- Re: nsIFile fun. Peter Annema
- Re: nsIFile fun. Doug Turner
- Re: nsIFile fun. Pete Collins
- Re: nsIFile fun. Pete Collins
- Re: nsIFile fun. Simon Fraser
- Re: nsIFile fun. Axel Hecht
- Re: nsIFile fun. Mike Shaver
- Re: nsIFile fun. Conrad Carlen
- Re: nsIFile fun. Pete Collins
- Re: nsIFile fun. Pete Collins
- Re: nsIFile fun. Mike Shaver
- Re: nsIFile fun. Conrad Carlen
- Re: nsIFile fun. Mike Shaver
- Re: nsIFile fun. Conrad Carlen
- Re: nsIFile fun. Martin Kutschker
