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

Re: invalid address on vendors page



On Sun, Nov 12, 2000 at 05:02:53PM +0100, Denis Barbier wrote:
> Looks like a bug in WML 2.0.3, which is fixed in 2.0.4.
Actually it is the way we code it that is wrong, however usnig URL tag
has its own problems:

gonzo$ cat test.wml
#use wml::fmt::url

<URL>http://localhost/blah?foo=1&bar=2</URL>
gonzo$ wml test.wml
<a href="http://localhost/blah?foo=1&bar=2";>http://localhost/blah?foo=1&bar=2</a>

Shouldn't <URL> run the words through a translate to htymlentities
type filter?  If you replace & with &amp; it breaks the href.

Also is there any way of setting a flag so wml knows that it should
not play with stuff between <? and ?> wml does evil things to my php
code sometimes.
Like:
<? print "<TABLE>"; ?>

Boy does it have fun with that.

  - Craig
-- 
Craig Small VK2XLZ  GnuPG:1C1B D893 1418 2AF4 45EE  95CB C76C E5AC 12CA DFA5
Eye-Net Consulting http://www.eye-net.com.au/        <csmall@eye-net.com.au>
MIEEE <csmall@ieee.org>                 Debian developer <csmall@debian.org>



Reply to: