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

Re: Bug in wml::std::href



On Sun, 2 Jan 2000, Wolfgang Dautermann wrote:

> Hi,
> 
> in wml::std::href there is a small bug. I tried to create a link to my
> Deja(news)-Posting profile using:
> 
> <href 
>   url="http://www.deja.com/profile.xp?author=dauti@sbox.tu-graz.ac.at&ST=PS"
>   name="Deja(news)-Profil">
> 
> wml::std::href thought (because of the "@"), it is an Email-Adress and
> prepended "mailto:" to the URL, which is - of course - wrong.
> 
> With the following patch I tried to fix that problem.

I prefer a more general solution, URLs are parsed only when scheme is
missing.
Thanks 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