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

Re: [BUG REPORT] WML 1.7.2, sparc-sun-solaris2.6



On Sat, 17 Jul 1999 plonka@doit.wisc.edu wrote:

> BUG REPORT
> 
> Package: WML 1.7.2
> Operating System: sparc-sun-solaris2.6
> 
> Problem Description:
> | In working with navbars I noticed that it messes up "absolute" URLs
> | on buttons unless they are use HTTP as in "http://...".
> | 
> | The root of the problem is in "wml_include/des/navbar.src" which contains
> | a quick and dirty regexp which decides that a URL is absolute only if it
> | contains "http".
> | 
> | Please see my accompanying post to the "sw-wml" mailing
> | list for full details and a patch.
> | 
> | Thanks!
> | Dave

Hi Dave,

you're right, navbar.src does not safely detect whether a path is
absolute or relative.
I replaced the regexp by the one used in URI::URL. The WML tarball
becomes bigger and bigger, but i try to keep it small. It's why i prefer
not to include the URI perl module.

Thanx for your report.

--
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