[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: String tainting
- From: "Dirk Feytons" <dirk.feytons@...>
- Date: Fri, 8 Feb 2008 16:26:25 +0100
On Feb 8, 2008 3:55 PM, Luiz Henrique de Figueiredo
<lhf@tecgraf.puc-rio.br> wrote:
> > That was my first idea but it doesn't work because metamethods are not
> > invoked for "foo".."bar".
>
> If __concat was invoked for .. then how would you do a raw concat?
You don't :)
I realized that when I was writing my __concat function.
It also means string tainting will need to be built into the core and
can not be bolted on using the public API. Since I'm not familiar with
the inner workings of the core I wanted to know if anybody had done
something similar before.
--
Dirk