[Date Index][Thread Index]
[Date Prev][Date Next][Thread Prev][Thread Next]

Re: Bug or feature - handling url "./" in wml::des::navbar



On 21 Sep 1999, Hans Ulrich Niedermann wrote:

> <barbier@imacs.polytechnique.fr> writes:
> 
> [ &canonpath("./") results in "" => no link in navbar ]
> 
> > Indeed. I thought i had already fix this bug, but i must admit i was
> > wrong.
> 
> Perhaps you fixed it in some snapshot. I can only talk about plain
> WML 1.7.2. 

When i say : ``i fixed it'', it means i just commit changes to the CVS
repositery. If it has been done some time ago, i try to say in which
version (or when).
Snapshots are available at
    http://www.engelschall.com/sw/wml/distrib/wml-SNAP

> BTW, what does the new &canonpath(".") yield? ""? "."? "./"?

&canonpath(".")  -> "."
&canonpath("./") -> "./"
&canonpath("./index.html")  -> "index.html"
&canonpath("../index.html") -> "../index.html"

-- 
Denis Barbier
WML Maintainer


______________________________________________________________________
Website META Language (WML)                www.engelschall.com/sw/wml/
Official Support Mailing List                   sw-wml@engelschall.com
Automated List Manager                       majordomo@engelschall.com